AllocateBlock
TypeScriptget AllocateBlock(): (((arg0: (SDKHandle) | null, arg1: number) => Promise<(SDKHandle) | null>)) | nullSwift declarationvar AllocateBlock: ((UnsafeMutableRawPointer?, Int) -> UnsafeMutableRawPointer?)?struct · iOS 4.0+ · SDK 27.1
struct CMBlockBufferCustomBlockSourceget AllocateBlock(): (((arg0: (SDKHandle) | null, arg1: number) => Promise<(SDKHandle) | null>)) | nullSwift declarationvar AllocateBlock: ((UnsafeMutableRawPointer?, Int) -> UnsafeMutableRawPointer?)?get FreeBlock(): (((arg0: (SDKHandle) | null, arg1: SDKHandle, arg2: number) => Promise<void>)) | nullSwift declarationvar FreeBlock: ((UnsafeMutableRawPointer?, UnsafeMutableRawPointer, Int) -> Void)?get refCon(): (SDKHandle) | nullSwift declarationvar refCon: UnsafeMutableRawPointer?set refCon(value: (SDKHandle) | null)Swift declarationvar refCon: UnsafeMutableRawPointer?get version(): numberSwift declarationvar version: UInt32set version(value: number)Swift declarationvar version: UInt32static init(): CMBlockBufferCustomBlockSourceSwift declarationinit()3 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.
CMBlockBufferCustomBlockSource.init(version:AllocateBlock:FreeBlock:refCon:)
callback cannot propagate synchronous failure
CMBlockBufferCustomBlockSource.AllocateBlock
closure property answers its caller
CMBlockBufferCustomBlockSource.FreeBlock
The iOS SDK compiler rejected this binding: a C function pointer can only be formed from a reference to a 'func' or a literal closure