Factory
class Factory(val priority: MediaControlPriority, factories: MediaControlFactory) : MediaControlFactory
MediaControlFactory implementation that is used to create CompositeMediaControl instances.
Note: priority is used for all contained media controls. The priorities of grouped factories are ignored.
Parameters
priority
Priority of the created CompositeMediaControl.
factories
List of media control factories used to create CompositeMediaControl. The order of factories matches the order of the controls in the composite control.
Functions
Link copied to clipboard
Creates a MediaControl for the given mediaControlContext. The context can be used to determine any of the properties of a MediaControl, or when the control is launched.