CMSampleBufferDataIsReady(_:)
Returns a Boolean value that indicates whether the sample buffer’s data is ready for use.
Declaration
func CMSampleBufferDataIsReady(_ sbuf: CMSampleBuffer) -> BoolParameters
- sbuf:
The
CMSampleBufferbeing 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.