NuguClientDelegate
public protocol NuguClientDelegate : AnyObject
<#Description#>
-
<#Description#>
Declaration
Swift
func nuguClientWillRequireAudioSession() -> Bool
-
nuguClientDidReleaseAudioSession()
Default implementation<#Description#>
Default Implementation
Declaration
Swift
func nuguClientDidReleaseAudioSession()
-
nuguClientDidReceive(direcive:
Default implementation) <#Description#>
Default Implementation
Declaration
Swift
func nuguClientDidReceive(direcive: Downstream.Directive)
Parameters
direcive
<#direcive description#>
-
nuguClientDidReceive(attachment:
Default implementation) <#Description#>
Default Implementation
Declaration
Swift
func nuguClientDidReceive(attachment: Downstream.Attachment)
Parameters
attachment
<#attachment description#>
-
<#Description#>
Declaration
Swift
func nuguClientWillSend(event: Upstream.Event)
Parameters
event
<#event description#>
-
nuguClientDidSend(event:
Default implementationerror: ) <#Description#>
Default Implementation
Declaration
Swift
func nuguClientDidSend(event: Upstream.Event, error: Error?)
Parameters
event
<#event description#>
error
<#error description#>
-
nuguClientDidSend(attachment:
Default implementationerror: ) <#Description#>
Default Implementation
Declaration
Swift
func nuguClientDidSend(attachment: Upstream.Attachment, error: Error?)
Parameters
attachment
<#attachment description#>
error
<#error description#>
-
Provides an access token from cache(ex>
UserDefault
).Declaration
Swift
func nuguClientRequestAccessToken() -> String?
Return Value
The current authorization token.