LabelingConfig
@objcMembers
@objc(BMPLabelingConfig)
public class LabelingConfig : NSObject
Provides the possibility to overwrite the labels which are automatically assigned for different types of tracks.
-
An optional block which gets a
SubtitleTrack
as parameter and returns the desired label which should be used for that track.Declaration
Swift
public var subtitleLabel: ((_ track: SubtitleTrack) -> String)?
-
An optional block which gets a
AudioTrack
as parameter and returns the desired label which should be used for that track.Declaration
Swift
public var audioLabel: ((_ track: AudioTrack) -> String)?