Contents

findUnusedTrackID(completionHandler:)

Loads an identifier that no other track in the asset uses.

Declaration

func findUnusedTrackID(completionHandler: @escaping  @Sendable (CMPersistentTrackID, (any Error)?) -> Void)
func findUnusedTrackID() async throws -> CMPersistentTrackID

Parameters

  • completionHandler:

    A completion handler the system calls after it finishes the request.

See Also

Loading tracks