comparePositionInDecodeOrder
TypeScriptcomparePositionInDecodeOrder(cursor: AVSampleCursor): _Foundation_ComparisonResultSwift declarationfunc comparePositionInDecodeOrder(withPositionOf cursor: AVSampleCursor) -> ComparisonResultclass · iOS 16.0+ · SDK 27.1
class AVSampleCursorcomparePositionInDecodeOrder(cursor: AVSampleCursor): _Foundation_ComparisonResultSwift declarationfunc comparePositionInDecodeOrder(withPositionOf cursor: AVSampleCursor) -> ComparisonResultcopyCurrentSampleFormatDescription(): _CoreMedia_CMFormatDescriptionSwift declarationfunc copyCurrentSampleFormatDescription() -> CMFormatDescriptionmaySamplesWithEarlierDecodeTimeStampsHavePresentationTimeStamps(cursor: AVSampleCursor): booleanSwift declarationfunc maySamplesWithEarlierDecodeTimeStampsHavePresentationTimeStamps(laterThan cursor: AVSampleCursor) -> BoolmaySamplesWithLaterDecodeTimeStampsHavePresentationTimeStamps(cursor: AVSampleCursor): booleanSwift declarationfunc maySamplesWithLaterDecodeTimeStampsHavePresentationTimeStamps(earlierThan cursor: AVSampleCursor) -> BoolstepByDecodeTimeWasPinned(deltaDecodeTime: _CoreMedia_CMTime): { $ret: _CoreMedia_CMTime; $out: { "outWasPinned": boolean } }Swift declarationfunc step(byDecodeTime deltaDecodeTime: CMTime, wasPinned outWasPinned: UnsafeMutablePointer<ObjCBool>?) -> CMTimeOmit the output parameters from the call. The result contains $ret and $out, with outWasPinned inside $out.
stepByPresentationTimeWasPinned(deltaPresentationTime: _CoreMedia_CMTime): { $ret: _CoreMedia_CMTime; $out: { "outWasPinned": boolean } }Swift declarationfunc step(byPresentationTime deltaPresentationTime: CMTime, wasPinned outWasPinned: UnsafeMutablePointer<ObjCBool>?) -> CMTimeOmit the output parameters from the call. The result contains $ret and $out, with outWasPinned inside $out.
stepInDecodeOrder(stepCount: number): numberSwift declarationfunc stepInDecodeOrder(byCount stepCount: Int64) -> Int64stepInPresentationOrder(stepCount: number): numberSwift declarationfunc stepInPresentationOrder(byCount stepCount: Int64) -> Int64get currentChunkInfo(): AVSampleCursorChunkInfoSwift declarationvar currentChunkInfo: AVSampleCursorChunkInfo { get }get currentChunkStorageRange(): AVSampleCursorStorageRangeSwift declarationvar currentChunkStorageRange: AVSampleCursorStorageRange { get }get currentChunkStorageURL(): (string) | nullSwift declarationvar currentChunkStorageURL: URL? { get }get currentSampleAudioDependencyInfo(): AVSampleCursorAudioDependencyInfoSwift declarationvar currentSampleAudioDependencyInfo: AVSampleCursorAudioDependencyInfo { get }get currentSampleDependencyAttachments(): (NativeMap<unknown, unknown>) | nullSwift declarationvar currentSampleDependencyAttachments: [AnyHashable : Any]? { get }get currentSampleDependencyInfo(): AVSampleCursorDependencyInfoSwift declarationvar currentSampleDependencyInfo: AVSampleCursorDependencyInfo { get }get currentSampleDuration(): _CoreMedia_CMTimeSwift declarationvar currentSampleDuration: CMTime { get }get currentSampleIndexInChunk(): numberSwift declarationvar currentSampleIndexInChunk: Int64 { get }get currentSampleStorageRange(): AVSampleCursorStorageRangeSwift declarationvar currentSampleStorageRange: AVSampleCursorStorageRange { get }get currentSampleSyncInfo(): AVSampleCursorSyncInfoSwift declarationvar currentSampleSyncInfo: AVSampleCursorSyncInfo { get }get decodeTimeStamp(): _CoreMedia_CMTimeSwift declarationvar decodeTimeStamp: CMTime { get }get presentationTimeStamp(): _CoreMedia_CMTimeSwift declarationvar presentationTimeStamp: CMTime { get }get samplesRequiredForDecoderRefresh(): numberSwift declarationvar samplesRequiredForDecoderRefresh: Int { get }1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.
AVSampleCursor.init()
inherited init: clang: 'init' is unavailable