BMPSystemUserInterfaceConfiguration
Objective-C
@interface BMPSystemUserInterfaceConfiguration : BMPUserInterfaceConfiguration
Swift
class SystemUserInterfaceConfiguration : UserInterfaceConfiguration
Undocumented
-
An array of text style rules to apply to WebVTT subtitles and other legible text.
Declaration
Objective-C
@property (nonatomic, copy, nullable) NSArray<AVTextStyleRule *> *subtitleStyles;
Swift
var subtitleStyles: [AVTextStyleRule]? { get set }
-
Indicates whether to show the ‘Auto’ option when choosing subtitles or not. Defaults to YES.
Note
This property is only available on tvOSDeclaration
Objective-C
@property (nonatomic) BOOL showAutoSubtitleOption;
-
When set to YES the first frame of the main content will not be rendered before playback starts Default: NO
Note
To reliably hide the first frame before a pre-roll ad, please ensure that you are using the AdvertisingConfiguration to schedule ads and not the scheduleAd API callDeclaration
Objective-C
@property (nonatomic) BOOL hideFirstFrame;
Swift
var hideFirstFrame: Bool { get set }
-
Indicates whether to show the seek bar and related controls during user interaction. Default is
YES
.Note
Depending on the tvOS version this property has a different behaviour:
On tvOS 14 and below it controls the seek bar visibility. Set this property to NO to selectively prevent the seek bar from being displayed during user interaction.
On tvOS 15 and above it controls the seek bar and audio/subtitle track selection views visibility. Set this property to NOto selectively prevent the seek bar and audio/subtitle track selection views from being displayed during user interaction.
This property is only available on tvOS. The new tvOS 15 System UI is only used when the app is built using Xcode 13.
Declaration
Objective-C
@property (nonatomic) BOOL showSeekBar;
-
Indicates whether to show the views for video metadata, navigation markers and playback settings when requested by the user. Default is
YES
.Note
Depending on the tvOS version this property has a different behaviour:
On tvOS 14 and below it controls the visibility of the info views which contains the media information and audio/subtitle track selection. If no
AVNavigationMarkersGroup
orAVMetadataItem
are set, only the audio/subtitle selection view is shown.On tvOS 15 and above it controls the visibility of the info views which contains the media information and chapters if
AVNavigationMarkersGroup
are configured. (The audio/subtitle selected was removed from the info view) If noAVNavigationMarkersGroup
orAVMetadataItem
are set, the info view isn’t shown.
Set this property to NO to selectively prevent the info views from being displayed during user interaction.
This property is only available on tvOS. The new tvOS 15 System UI is only used when the app is built using Xcode 13.
Declaration
Objective-C
@property (nonatomic) BOOL showInfoViews;