One Logo Pool Ball
CoreMedia · IOS API REFERENCE

CMBlockBufferCustomBlockSource

struct · iOS 4.0+ · SDK 27.1

struct CMBlockBufferCustomBlockSource

Members (7)

get · iOS 4.0+

AllocateBlock

TypeScript
get AllocateBlock(): (((arg0: (SDKHandle) | null, arg1: number) => Promise<(SDKHandle) | null>)) | null
Swift declaration
var AllocateBlock: ((UnsafeMutableRawPointer?, Int) -> UnsafeMutableRawPointer?)?
get · iOS 4.0+

FreeBlock

TypeScript
get FreeBlock(): (((arg0: (SDKHandle) | null, arg1: SDKHandle, arg2: number) => Promise<void>)) | null
Swift declaration
var FreeBlock: ((UnsafeMutableRawPointer?, UnsafeMutableRawPointer, Int) -> Void)?
get · iOS 4.0+

refCon

TypeScript
get refCon(): (SDKHandle) | null
Swift declaration
var refCon: UnsafeMutableRawPointer?
set · iOS 4.0+

refCon

TypeScript
set refCon(value: (SDKHandle) | null)
Swift declaration
var refCon: UnsafeMutableRawPointer?
get · iOS 4.0+

version

TypeScript
get version(): number
Swift declaration
var version: UInt32
set · iOS 4.0+

version

TypeScript
set version(value: number)
Swift declaration
var version: UInt32
init · iOS 4.0+

init

TypeScript
static init(): CMBlockBufferCustomBlockSource
Swift declaration
init()

Skipped declarations

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

All CoreMedia types →