estimateOutputFileLength(completionHandler:)
Starts estimating the output file length of the export while considering the asset, preset, and time range configuration of the export session.
Declaration
func estimateOutputFileLength(completionHandler handler: @escaping @Sendable (Int64, (any Error)?) -> Void)var estimatedOutputFileLengthInBytes: Int64 { get async throws }Parameters
- handler:
A callback the system invokes when it finishes its estimation. It passes the callback the following parameters:
estimatedOutputFileLengthThe system’s estimation of the output file length.
errorAn error object if the request fails; otherwise,
nil.