![]() |
AlexaClientSDK
3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
|
Classes | |
| class | AlexaPlaybackControllerInterface |
| class | AlexaPlaybackControllerObserverInterface |
Functions | |
| std::string | playbackOperationToString (PlaybackOperation playbackOperation) |
| std::string | playbackStateToString (PlaybackState playbackState) |
The PlaybackOperation enumeration carries out playback controller actions such as play, pause and stop audio or video content.
The enumeration representing the playback status of the media played on a device reported understood by Alexa interfaces. https://developer.amazon.com/en-US/docs/alexa/device-apis/alexa-property-schemas.html#playbackstate
| Enumerator | |
|---|---|
| PLAYING | Media content is playing. |
| PAUSED | Media content is paused. |
| STOPPED | Media content is not playing. |
| std::string alexaClientSDK::acsdkAlexaPlaybackControllerInterfaces::playbackOperationToString | ( | PlaybackOperation | playbackOperation | ) |
Convert a PlaybackOperation enum to its corresponding string value. Note that any PlaybackOperation that does not map to PlaybackOperation enum value will return an empty string.
| playbackOperation | The playback operation value to convert. |
PlaybackOperation. Returns an empty string if PlaybackOperation does not map to a PlaybackOperation enum. | std::string alexaClientSDK::acsdkAlexaPlaybackControllerInterfaces::playbackStateToString | ( | PlaybackState | playbackState | ) |
Convert a PlaybackState enum to its corresponding string value. Note that any PlaybackState that does not map to PlaybackState enum value will return an empty string.
| playbackState | The playback state value to convert. |
PlaybackState. Returns an empty string if PlaybackState does not map to a PlaybackState enum. AlexaClientSDK 3.0.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0