AlexaClientSDK
3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
|
#include <LocalPlaybackHandlerInterface.h>
Public Types | |
enum | PlaybackOperation { STOP_PLAYBACK, RESUMABLE_STOP, RESUME_PLAYBACK, TRANSIENT_PAUSE } |
Public Member Functions | |
virtual | ~LocalPlaybackHandlerInterface ()=default |
virtual bool | localOperation (PlaybackOperation op)=0 |
virtual bool | localSeekTo (std::chrono::milliseconds location, bool fromStart)=0 |
This class allows a local UI to request playback actions using local control
|
virtualdefault |
Destructor.
|
pure virtual |
Request the handler to perform a local playback operation.
op | Operation to request |
Implemented in alexaClientSDK::acsdkAudioPlayer::AudioPlayer, and alexaClientSDK::acsdkExternalMediaPlayer::ExternalMediaPlayer.
|
pure virtual |
Request the handler to perform a local seek operation.
location | Position to seek to |
fromStart | true to seek to absolute location, false to seek reletive to current location. |
Implemented in alexaClientSDK::acsdkAudioPlayer::AudioPlayer, and alexaClientSDK::acsdkExternalMediaPlayer::ExternalMediaPlayer.
AlexaClientSDK 3.0.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0