ExtensionAgentProtocol
public protocol ExtensionAgentProtocol : CapabilityAgentable
Extension-agent handles directives that not defined by other capability-agents
-
The object that acts as the delegate of extension-agent
Declaration
Swift
var delegate: ExtensionAgentDelegate? { get set } -
Declaration
Swift
@discardableResult func requestCommand(data: [String : AnyHashable], playServiceId: String, completion: ((StreamDataState) -> Void)?) -> StringParameters
dataCustom data as a Dictionary. Should be available converting JSON format. see JSONSerialization.isValidJSONObject.
playServiceIdThe play’s unique id
completionThe completion handler to call when the request is complete.
Return Value
The dialogRequestId for request.
-
requestCommand(data:Extension methodplayServiceId: ) <#Description#>
Declaration
Swift
@discardableResult func requestCommand(data: [String : AnyHashable], playServiceId: String) -> StringParameters
data<#data description#>
playServiceId<#playServiceId description#>
Return Value
<#description#>
View on GitHub
ExtensionAgentProtocol Protocol Reference