BMPLabelingConfiguration
@interface BMPLabelingConfiguration : BMPConfiguration
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 (readwrite, copy, nonatomic, 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 (readwrite, copy, nonatomic, nullable) NSString *_Nonnull (^) (int *_Nonnull) audioLabel;
Swift
var audioLabel: ((UnsafeMutablePointer<Int32>) -> String)? { get set }