loadTotalSampleDataLength(completionHandler:)
Loads the total size in bytes of all the samples in the track.
Declaration
optional func loadTotalSampleDataLength(completionHandler: @escaping @Sendable (Int64, (any Error)?) -> Void)optional func totalSampleDataLength() async throws -> Int64Parameters
- completionHandler:
The completion block to execute when the load operation finishes.
See Also
Getting track information
loadTrackInfo(completionHandler:)generateSampleCursor(atPresentationTimeStamp:completionHandler:)generateSampleCursorAtFirstSampleInDecodeOrder(completionHandler:)generateSampleCursorAtLastSampleInDecodeOrder(completionHandler:)loadUneditedDuration(completionHandler:)loadEstimatedDataRate(completionHandler:)loadMetadata(completionHandler:)