VoiceChromePresenterDelegate
public protocol VoiceChromePresenterDelegate : AnyObject
A delegate that application can extend to observe VoiceChromePresenter
changes.
-
Notifies the
NuguVoiceChrome
to be shown.Declaration
Swift
func voiceChromeWillShow()
-
Notifies the
NuguVoiceChrome
to be hidden.Declaration
Swift
func voiceChromeWillHide()
-
Determines whether to set
UIApplication.shared.isIdleTimerDisabled
to true.Declaration
Swift
func voiceChromeShouldDisableIdleTimer() -> Bool
-
Determines whether to set
UIApplication.shared.isIdleTimerDisabled
to false.Declaration
Swift
func voiceChromeShouldEnableIdleTimer() -> Bool