Contents

CMSampleBufferDataIsReady(_:)

Returns a Boolean value that indicates whether the sample buffer’s data is ready for use.

Declaration

func CMSampleBufferDataIsReady(_ sbuf: CMSampleBuffer) -> Bool

Parameters

  • sbuf:

    The CMSampleBuffer being interrogated.

Return Value

A Boolean indicating whether or not the sample buffer’s data is ready. True is returned for special marker buffers, even though they have no data. False is returned if there is an error.

See Also

Determining Readiness