![]() |
AlexaClientSDK
3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
|
#include <PlaybackHandlerInterface.h>
Public Member Functions | |
virtual | ~PlaybackHandlerInterface ()=default |
virtual void | onButtonPressed (alexaClientSDK::avsCommon::avs::PlaybackButton button)=0 |
virtual void | onTogglePressed (alexaClientSDK::avsCommon::avs::PlaybackToggle toggle, bool action)=0 |
This class allows a playback button press handler to be notified a playback button is pressed.
|
virtualdefault |
Destructor.
|
pure virtual |
Used to notify the handler when a playback button is pressed.
button | The button that has been pressed. |
Implemented in alexaClientSDK::acsdkExternalMediaPlayer::ExternalMediaPlayer, and alexaClientSDK::capabilityAgents::playbackController::PlaybackController.
|
pure virtual |
Used to notify the handler when a playback toggle is pressed.
toggle | The toggle that has been pressed. |
action | The boolean action for the toggle state |
Implemented in alexaClientSDK::acsdkExternalMediaPlayer::ExternalMediaPlayer, and alexaClientSDK::capabilityAgents::playbackController::PlaybackController.
AlexaClientSDK 3.0.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0