alreadyHasDataBuffer
TypeScriptstatic get alreadyHasDataBuffer(): _Foundation_NSErrorSwift declarationstatic let alreadyHasDataBuffer: NSErrorAttempt was made to set a `dataBuffer` on a `CMSampleBuffer` that already has one.
struct · iOS 13.0+ · SDK 27.1
struct ErrorCMFormatDescription Errors
static get alreadyHasDataBuffer(): _Foundation_NSErrorSwift declarationstatic let alreadyHasDataBuffer: NSErrorAttempt was made to set a `dataBuffer` on a `CMSampleBuffer` that already has one.
static get invalidMediaTypeForOperation(): _Foundation_NSErrorSwift declarationstatic let invalidMediaTypeForOperation: NSErrorThe media type specified by a format description is not valid for the given operation (eg. a `CMSampleBuffer` with a non-audio format description passed to `withUnsafeAudioStreamPacketDescriptions()`).
static get invalidMediaFormat(): _Foundation_NSErrorSwift declarationstatic let invalidMediaFormat: NSErrorThe format of the given media does not match the given format description (eg. a format description paired with a `CVImageBuffer` that fails `matchesImageBuffer()`).
static get dataFailed(): _Foundation_NSErrorSwift declarationstatic let dataFailed: NSErrorThe sample buffer's data loading operation failed (generic error).
static get invalidated(): _Foundation_NSErrorSwift declarationstatic let invalidated: NSErrorThe sample buffer was invalidated.
static get dataCanceled(): _Foundation_NSErrorSwift declarationstatic let dataCanceled: NSErrorThe sample buffer's data loading operation was canceled.
static get arrayTooSmall(): _Foundation_NSErrorSwift declarationstatic let arrayTooSmall: NSErrorOutput array was not large enough for the array being requested.
static get bufferNotReady(): _Foundation_NSErrorSwift declarationstatic let bufferNotReady: NSErrorBuffer could not be made ready.
static get cannotSubdivide(): _Foundation_NSErrorSwift declarationstatic let cannotSubdivide: NSErrorSample buffer does not contain sample sizes. This can happen when the samples in the buffer are non-contiguous (eg. non-interleaved audio, where the channel values for a single sample are scattered through the buffer).
static get allocationFailed(): _Foundation_NSErrorSwift declarationstatic let allocationFailed: NSErrorAn allocation failed.
static get invalidEntryCount(): _Foundation_NSErrorSwift declarationstatic let invalidEntryCount: NSErrorTiming info or size array entry count was not `0`, `1`, or `numSamples`.
static get invalidSampleData(): _Foundation_NSErrorSwift declarationstatic let invalidSampleData: NSErrorBuffer contains bad data. Only returned by CMSampleBuffer` functions that inspect its sample data.
static get sampleIndexOutOfRange(): _Foundation_NSErrorSwift declarationstatic let sampleIndexOutOfRange: NSErrorSample index was not between `0` and `numSamples - 1`, inclusive.
static get bufferHasNoSampleSizes(): _Foundation_NSErrorSwift declarationstatic let bufferHasNoSampleSizes: NSErrorAttempt to get sample size information when there was none.
static get sampleTimingInfoInvalid(): _Foundation_NSErrorSwift declarationstatic let sampleTimingInfoInvalid: NSErrorBuffer unexpectedly contains a non-numeric sample timing info.
static get requiredParameterMissing(): _Foundation_NSErrorSwift declarationstatic let requiredParameterMissing: NSError`nil` or `0` was passed for a required parameter.
static get bufferHasNoSampleTimingInfo(): _Foundation_NSErrorSwift declarationstatic let bufferHasNoSampleTimingInfo: NSErrorAttempt to get sample timing information when there was none.
No declarations were skipped in this snapshot.