Contents

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:

    estimatedOutputFileLength

    The system’s estimation of the output file length.

    error

    An error object if the request fails; otherwise, nil.

See Also

Estimating file length and duration