BMPLabelingConfiguration
Objective-C
@interface BMPLabelingConfiguration : BMPConfiguration
Swift
class LabelingConfiguration : Configuration
Provides the possibility to overwrite the labels which are automatically assigned for different types of tracks.
-
An optional block which gets a BMPSubtitleTrack as parameter and returns the desired label which should be used for that track.
Declaration
Objective-C
@property (nonatomic, copy, nullable) NSString *_Nonnull (^) (BMPSubtitleTrack *_Nonnull) subtitleLabel;
Swift
var subtitleLabel: ((SubtitleTrack) -> String)? { get set }
-
An optional block which gets a BMPAudioTrack as parameter and returns the desired label which should be used for that track.
Declaration
Objective-C
@property (nonatomic, copy, nullable) NSString *_Nonnull (^) (BMPAudioTrack *_Nonnull) audioLabel;
Swift
var audioLabel: ((AudioTrack) -> String)? { get set }