MediaPlayerAgent
class MediaPlayerAgent( mediaPlayer: MediaPlayer, messageSender: MessageSender, contextGetter: ContextGetterInterface, contextStateProviderRegistry: ContextStateProviderRegistry, directiveSequencer: DirectiveSequencerInterface) : CapabilityAgent, SupportedInterfaceContextProvider, PlayDirectiveHandler.Controller, StopDirectiveHandler.Controller, SearchDirectiveHandler.Controller, PreviousDirectiveHandler.Controller, NextDirectiveHandler.Controller, MoveDirectiveHandler.Controller, ResumeDirectiveHandler.Controller, PauseDirectiveHandler.Controller, RewindDirectiveHandler.Controller, ToggleDirectiveHandler.Controller, GetInfoDirectiveHandler.Controller, HandlePlaylistDirectiveHandler.Controller, HandleLyricsDirectiveHandler.Controller
Content copied to clipboard
Constructors
Link copied to clipboard
fun MediaPlayerAgent( mediaPlayer: MediaPlayer, messageSender: MessageSender, contextGetter: ContextGetterInterface, contextStateProviderRegistry: ContextStateProviderRegistry, directiveSequencer: DirectiveSequencerInterface)
Content copied to clipboard
Types
Functions
Link copied to clipboard
open override fun getInfo( header: Header, payload: Payload, callback: GetInfoCallback)
Content copied to clipboard
Link copied to clipboard
open override fun handleLyrics( header: Header, payload: HandleLyricsPayload, callback: EventCallback)
Content copied to clipboard
Link copied to clipboard
open override fun handlePlaylist( header: Header, payload: HandlePlaylistPayload, callback: EventCallback)
Content copied to clipboard
Link copied to clipboard
open override fun move( header: Header, payload: MovePayload, callback: EventCallback)
Content copied to clipboard
Link copied to clipboard
open override fun next( header: Header, payload: NextPayload, callback: NextCallback)
Content copied to clipboard
Link copied to clipboard
open override fun pause( header: Header, payload: Payload, callback: EventCallback)
Content copied to clipboard
Link copied to clipboard
open override fun play( header: Header, payload: PlayPayload, callback: PlayCallback)
Content copied to clipboard
Link copied to clipboard
open override fun previous( header: Header, payload: PreviousPayload, callback: PreviousCallback)
Content copied to clipboard
Link copied to clipboard
open override fun provideState( contextSetter: ContextSetterInterface, namespaceAndName: NamespaceAndName, contextType: ContextType, stateRequestToken: Int)
Content copied to clipboard
Link copied to clipboard
open override fun resume( header: Header, payload: Payload, callback: EventCallback)
Content copied to clipboard
Link copied to clipboard
open override fun rewind( header: Header, payload: Payload, callback: EventCallback)
Content copied to clipboard
Link copied to clipboard
open override fun search( header: Header, payload: SearchPayload, callback: EventCallback)
Content copied to clipboard
Link copied to clipboard
open override fun stop( header: Header, payload: Payload, callback: EventCallback)
Content copied to clipboard
Link copied to clipboard
open override fun toggle( header: Header, payload: TogglePayload, callback: EventCallback)
Content copied to clipboard