AudioTrack
@objcMembers
@objc(BMPAudioTrack)
public class AudioTrack : Track
Describes an audio track.
-
The IETF BCP 47 language tag associated with the audio track.
Declaration
Swift
public private(set) var language: String? { get } -
Creates a new audio track
Declaration
Swift
public init( label: String, identifier: String, isDefaultTrack: Bool, language: String? )Parameters
labelThe label for this track.
identifierThe unique identifier for this track.
isDefaultTrackIf set to
true, this track would be considered as default.languageThe IETF BCP 47 language tag associated with this track
Return Value
A new
AudioTrackinitialized with the provided metadata.
AudioTrack Class Reference