One Logo Pool Ball
CoreGraphics · IOS API REFERENCE

CGDataConsumerCallbacks

struct · SDK 27.1

struct CGDataConsumerCallbacks

Members (3)

get

putBytes

TypeScript
get putBytes(): (((arg0: (SDKHandle) | null, arg1: SDKHandle, arg2: number) => Promise<number>)) | null
Swift declaration
var putBytes: CGDataConsumerPutBytesCallback?
get

releaseConsumer

TypeScript
get releaseConsumer(): (((arg0: (SDKHandle) | null) => Promise<void>)) | null
Swift declaration
var releaseConsumer: CGDataConsumerReleaseInfoCallback?
init

init

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

Skipped declarations

3 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.

CGDataConsumerCallbacks.init(putBytes:releaseConsumer:)

callback cannot propagate synchronous failure

CGDataConsumerCallbacks.putBytes

closure property answers its caller

CGDataConsumerCallbacks.releaseConsumer

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 CoreGraphics types →