stepInDecodeOrder(by:completionHandler:)
Moves the cursor a given number of samples in decode order.
Declaration
func stepInDecodeOrder(by stepCount: Int64, completionHandler: @escaping @Sendable (Int64, (any Error)?) -> Void)func stepInDecodeOrder(by stepCount: Int64) async throws -> Int64Parameters
- stepCount:
The number of samples to move. If positive, the cursor steps forward. If negative, the cursor steps backward.
- completionHandler:
The completion block to execute when the move operation finishes.
See Also
Stepping through samples
samplesWithEarlierDTSsMayHaveLaterPTSs(than:)samplesWithLaterDTSsMayHaveEarlierPTSs(than:)estimatedSampleLocation()refineSampleLocation(_:refinementData:refinementDataLength:refinedLocation:)stepByDecodeTime(_:completionHandler:)stepByPresentationTime(_:completionHandler:)stepInPresentationOrder(by:completionHandler:)