didFailToDecodeNotification
TypeScriptstatic get didFailToDecodeNotification(): _Foundation_NSNotification_NameSwift declarationclass let didFailToDecodeNotification: NSNotification.Nameclass · iOS 17.0+ · SDK 27.1
class AVSampleBufferVideoRendererstatic get didFailToDecodeNotification(): _Foundation_NSNotification_NameSwift declarationclass let didFailToDecodeNotification: NSNotification.Namestatic get didFailToDecodeNotificationErrorKey(): stringSwift declarationclass let didFailToDecodeNotificationErrorKey: Stringstatic get requiresFlushToResumeDecodingDidChangeNotification(): _Foundation_NSNotification_NameSwift declarationclass let requiresFlushToResumeDecodingDidChangeNotification: NSNotification.NamedisplayedPixelBuffer(): (_CoreVideo_CVBuffer) | nullSwift declarationfunc displayedPixelBuffer() -> CVPixelBuffer?enqueue(sampleBuffer: _CoreMedia_CMSampleBuffer): voidSwift declarationfunc enqueue(_ sampleBuffer: CMSampleBuffer)flush(): voidSwift declarationfunc flush()flushRemovingDisplayedImageCompletionHandler(removeDisplayedImage: boolean, handler?: ((() => void)) | null): voidSwift declarationfunc flush(removingDisplayedImage removeDisplayedImage: Bool) asyncstatic init(): AVSampleBufferVideoRendererSwift declarationinit()loadVideoPerformanceMetrics(completionHandler: ((arg0: (AVVideoPerformanceMetrics) | null) => void)): voidSwift declarationvar videoPerformanceMetrics: AVVideoPerformanceMetrics? { get async }requestMediaDataWhenReady(queue: _Dispatch_DispatchQueue, block: (() => void)): voidSwift declarationfunc requestMediaDataWhenReady(on queue: dispatch_queue_t, using block: @escaping @Sendable () -> Void)stopRequestingMediaData(): voidSwift declarationfunc stopRequestingMediaData()get error(): (NativeError) | nullSwift declarationvar error: (any Error)? { get }get hasSufficientMediaDataForReliablePlaybackStart(): booleanSwift declarationvar hasSufficientMediaDataForReliablePlaybackStart: Bool { get }get isReadyForMoreMediaData(): booleanSwift declarationvar isReadyForMoreMediaData: Bool { get }get requiresFlushToResumeDecoding(): booleanSwift declarationvar requiresFlushToResumeDecoding: Bool { get }get status(): AVQueuedSampleBufferRenderingStatusSwift declarationvar status: AVQueuedSampleBufferRenderingStatus { get }get recommendedPixelBufferAttributes(): _CoreVideo_CVPixelBufferAttributesSwift declarationvar recommendedPixelBufferAttributes: CVPixelBufferAttributes { get }Recommended pixel buffer attributes for optimal performance when using CMSampleBuffers containing CVPixelbuffers. The returned attributes are not sufficient for pixel buffer creation. Use ``CVPixelBufferAttributes/init?(merging:)`` to merge these with other required attributes.
set presentationTimeExpectation(value: AVSampleBufferVideoRenderer_PresentationTimeExpectation)Swift declarationvar presentationTimeExpectation: AVSampleBufferVideoRenderer.PresentationTimeExpectation { get set }Specifies the expected upcoming PTS values for the samples that will be enqueued. The purpose is to enable power optimizations.
1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.
AVSampleBufferVideoRenderer.presentationTimeExpectation
The iOS SDK compiler rejected this binding: getter for 'presentationTimeExpectation' is unavailable