AudioDisplayViewPresenterDelegate
public protocol AudioDisplayViewPresenterDelegate : AnyObject
A delegate that application can extend to observe DisplayWebViewPresenter changes.
-
Delegate method called when control center content should be updated.
Declaration
Swift
func displayControllerShouldUpdateTemplate(template: AudioPlayerDisplayTemplate) -
Delegate method called when control center state should be updated.
Declaration
Swift
func displayControllerShouldUpdateState(state: AudioPlayerState) -
Delegate method called when control center duration should be updated.
Declaration
Swift
func displayControllerShouldUpdateDuration(duration: Int) -
Delegate method called when control center should be removed.
Declaration
Swift
func displayControllerShouldRemove() -
Delegate method called when NuguButton in AudioDisplayView has been clicked.
Declaration
Swift
func onAudioDisplayViewNuguButtonClick() -
Delegate method called when chips button in AudioDisplayView has been clicked.
Declaration
Swift
func onAudioDisplayViewChipsSelect(selectedChips: NuguChipsButton.NuguChipsButtonType?)
View on GitHub
AudioDisplayViewPresenterDelegate Protocol Reference