MediaPlayerAgentDelegate
public protocol MediaPlayerAgentDelegate : AnyObject
<#Description#>
-
<#Description#>
Declaration
Swift
func mediaPlayerAgentRequestContext() -> MediaPlayerAgentContext?
-
<#Description#>
Declaration
Swift
func mediaPlayerAgentReceivePlay(payload: MediaPlayerAgentDirectivePayload.Play, header: Downstream.Header, completion: @escaping ((MediaPlayerAgentProcessResult.Play) -> Void))
Parameters
payload
<#payload description#>
header
The header of the originally handled directive.
completion
<#completion description#>
-
<#Description#>
Declaration
Swift
func mediaPlayerAgentReceiveStop(playServiceId: String, token: String, header: Downstream.Header, completion: @escaping ((MediaPlayerAgentProcessResult.Stop) -> Void))
Parameters
playServiceId
<#playServiceId description#>
token
<#token description#>
header
The header of the originally handled directive.
completion
<#completion description#>
-
<#Description#>
Declaration
Swift
func mediaPlayerAgentReceiveSearch(payload: MediaPlayerAgentDirectivePayload.Search, header: Downstream.Header, completion: @escaping ((MediaPlayerAgentProcessResult.Search) -> Void))
Parameters
payload
<#payload description#>
header
The header of the originally handled directive.
completion
<#completion description#>
-
<#Description#>
Declaration
Swift
func mediaPlayerAgentReceivePrevious(payload: MediaPlayerAgentDirectivePayload.Previous, header: Downstream.Header, completion: @escaping ((MediaPlayerAgentProcessResult.Previous) -> Void))
Parameters
payload
<#payload description#>
header
The header of the originally handled directive.
completion
<#completion description#>
-
<#Description#>
Declaration
Swift
func mediaPlayerAgentReceiveNext(payload: MediaPlayerAgentDirectivePayload.Next, header: Downstream.Header, completion: @escaping ((MediaPlayerAgentProcessResult.Next) -> Void))
Parameters
payload
<#payload description#>
header
The header of the originally handled directive.
completion
<#completion description#>
-
<#Description#>
Declaration
Swift
func mediaPlayerAgentReceiveMove(payload: MediaPlayerAgentDirectivePayload.Move, header: Downstream.Header, completion: @escaping ((MediaPlayerAgentProcessResult.Move) -> Void))
Parameters
payload
<#payload description#>
header
The header of the originally handled directive.
completion
<#completion description#>
-
<#Description#>
Declaration
Swift
func mediaPlayerAgentReceivePause(playServiceId: String, token: String, header: Downstream.Header, completion: @escaping ((MediaPlayerAgentProcessResult.Pause) -> Void))
Parameters
playServiceId
<#playServiceId description#>
token
<#token description#>
header
The header of the originally handled directive.
completion
<#completion description#>
-
<#Description#>
Declaration
Swift
func mediaPlayerAgentReceiveResume(playServiceId: String, token: String, header: Downstream.Header, completion: @escaping ((MediaPlayerAgentProcessResult.Resume) -> Void))
Parameters
playServiceId
<#playServiceId description#>
token
<#token description#>
header
The header of the originally handled directive.
completion
<#completion description#>
-
<#Description#>
Declaration
Swift
func mediaPlayerAgentReceiveRewind(playServiceId: String, token: String, header: Downstream.Header, completion: @escaping ((MediaPlayerAgentProcessResult.Rewind) -> Void))
Parameters
playServiceId
<#playServiceId description#>
token
<#token description#>
header
The header of the originally handled directive.
completion
<#completion description#>
-
<#Description#>
Declaration
Swift
func mediaPlayerAgentReceiveToggle(payload: MediaPlayerAgentDirectivePayload.Toggle, header: Downstream.Header, completion: @escaping ((MediaPlayerAgentProcessResult.Toggle) -> Void))
Parameters
payload
<#payload description#>
header
The header of the originally handled directive.
completion
<#completion description#>
-
<#Description#>
Declaration
Swift
func mediaPlayerAgentReceiveGetInfo(playServiceId: String, token: String, header: Downstream.Header, completion: @escaping ((MediaPlayerAgentProcessResult.GetInfo) -> Void))
Parameters
playServiceId
<#playServiceId description#>
token
<#token description#>
header
The header of the originally handled directive.
completion
<#completion description#>
-
<#Description#>
Declaration
Swift
func mediaPlayerAgentReceivePlaylist(playServiceId: String, action: String, target: String?, header: Downstream.Header, completion: @escaping ((MediaPlayerAgentProcessResult.HandlePlaylist) -> Void))
Parameters
playServiceId
<#playServiceId description#>
action
<#action description#>
target
<#target description#>
header
The header of the originally handled directive.
completion
<#completion description#>
-
<#Description#>
Declaration
Swift
func mediaPlayerAgentReceiveLyrics(playServiceId: String, action: String, header: Downstream.Header, completion: @escaping ((MediaPlayerAgentProcessResult.HandleLyrics) -> Void))
Parameters
playServiceId
<#playServiceId description#>
action
<#action description#>
header
The header of the originally handled directive.
completion
<#completion description#>