AlexaClientSDK
3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
|
#include <EndpointAlexaPlaybackControllerHandler.h>
Static Public Member Functions | |
static std::shared_ptr< EndpointAlexaPlaybackControllerHandler > | create (const std::string &endpointName, std::shared_ptr< EndpointFocusAdapter > focusAdapter) |
Sample implementation of an AlexaPlaybackControllerInterface
.
|
override |
|
static |
Create a AlexaPlaybackControllerHandler object.
endpointName | The name of the endpoint. |
focusAdapter | The EndpointFocusAdapter to manage focus. |
AlexaPlaybackControllerHandler
object if it succeeds; otherwise, nullptr
.
|
overridevirtual |
Execute fast forward operation for audtio or video content on the device
AlexaPlaybackControllerResponse
to indicate whether playback operation was successfully executed or encountered an error while executing. Implements alexaClientSDK::acsdkAlexaPlaybackControllerInterfaces::AlexaPlaybackControllerInterface.
|
overridevirtual |
Get the current playback state of the device.
PlaybackState
AlexaPlaybackControllerInterface
implementation has configured its instance's property as retrievable, this method should return the current launch target state. Unlike AlexaPlaybackControllerObserverInterface
observer methods, this returns the current playback state at any given point when requested, with or without a change in playback state. Implements alexaClientSDK::acsdkAlexaPlaybackControllerInterfaces::AlexaPlaybackControllerInterface.
|
overridevirtual |
Returns all supported playback operations the device is expected to understand.
PlaybackOperation
set object that contains the supported playback operations. e.g. Play, Pause, Stop, StartOver, Previous, Next, Rewind, FastForward Implements alexaClientSDK::acsdkAlexaPlaybackControllerInterfaces::AlexaPlaybackControllerInterface.
|
overridevirtual |
Execute next operation for audio or video content on the device
AlexaPlaybackControllerResponse
to indicate whether playback operation was successfully executed or encountered an error while executing. Implements alexaClientSDK::acsdkAlexaPlaybackControllerInterfaces::AlexaPlaybackControllerInterface.
|
overridevirtual |
Execute pause operation for audio or video content on the device
AlexaPlaybackControllerResponse
to indicate whether playback operation was successfully executed or encountered an error while executing. Implements alexaClientSDK::acsdkAlexaPlaybackControllerInterfaces::AlexaPlaybackControllerInterface.
|
overridevirtual |
Execute play operation for audio or video content on the device
AlexaPlaybackControllerResponse
to indicate whether playback operation was successfully executed or encountered an error while executing. Implements alexaClientSDK::acsdkAlexaPlaybackControllerInterfaces::AlexaPlaybackControllerInterface.
|
overridevirtual |
Execute previous operation for audio or video content on the device
AlexaPlaybackControllerResponse
to indicate whether playback operation was successfully executed or encountered an error while executing. Implements alexaClientSDK::acsdkAlexaPlaybackControllerInterfaces::AlexaPlaybackControllerInterface.
|
override |
|
overridevirtual |
Execute rewind operation for audio or video content on the device
AlexaPlaybackControllerResponse
to indicate whether playback operation was successfully executed or encountered an error while executing. Implements alexaClientSDK::acsdkAlexaPlaybackControllerInterfaces::AlexaPlaybackControllerInterface.
|
overridevirtual |
Execute start over operation for audio or video content on the device
AlexaPlaybackControllerResponse
to indicate whether playback operation was successfully executed or encountered an error while executing. Implements alexaClientSDK::acsdkAlexaPlaybackControllerInterfaces::AlexaPlaybackControllerInterface.
|
overridevirtual |
Execute stop operation for audio or video content on the device
AlexaPlaybackControllerResponse
to indicate whether playback operation was successfully executed or encountered an error while executing. Implements alexaClientSDK::acsdkAlexaPlaybackControllerInterfaces::AlexaPlaybackControllerInterface.
AlexaClientSDK 3.0.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0