SystemUiApi
@objc(BMPSystemUiApi)
public protocol SystemUiApi
The SystemUiApi for interactions regarding the system UI. Using this API just has an effect if userInterfaceType
in StyleConfig is set to .system. This is the default value on tvOS, on iOS it has to be set specifically.
-
An array of actions and menus to display with the default player controls. Contains the currently displayed items. Items can be added and removed dynamically at any time.
The initial state can be configured using
SystemUserInterfaceConfig.transportBarCustomMenuItemsUse this property to display custom pop-up menus in transport bar. This property only supports menu elements of type
UIActionandUIMenu, and supports displaying inline one level of submenus.Declaration
Swift
@available(tvOS 15.0, iOS 13.0, *) @available(iOS, unavailable) var transportBarCustomMenuItems: [UIMenuElement] { get set } -
An array of actions to present in the Info content view. Default value is a single action that plays the current media from the beginning when tapped.
The Info content view can display up to two custom action controls along its trailing edge. Contains the currently presented actions. The default value (if present) can be replaced, an additional action can be added, or set this property value to an empty array to display no actions.
Declaration
Swift
@available(tvOS 15.0, iOS 13.0, *) @available(iOS, unavailable) var infoViewActions: [UIAction] { get set }
SystemUiApi Protocol Reference