#include <PlaybackCommand.h>
|
const std::string | m_name |
| The distinct AVS name of a command. More...
|
|
This class represents a specific PlaybackController
interface command.
◆ PlaybackCommand()
alexaClientSDK::capabilityAgents::playbackController::PlaybackCommand::PlaybackCommand |
( |
const std::string & |
name | ) |
|
Constructor
- Parameters
-
name | The distinguishing command name. It is either the event name(v1.0), or the payload name(v1.1). |
◆ ~PlaybackCommand()
virtual alexaClientSDK::capabilityAgents::playbackController::PlaybackCommand::~PlaybackCommand |
( |
| ) |
|
|
virtualdefault |
◆ buttonToCommand()
◆ getEventName()
virtual std::string alexaClientSDK::capabilityAgents::playbackController::PlaybackCommand::getEventName |
( |
| ) |
const |
|
pure virtual |
◆ getEventPayload()
virtual std::string alexaClientSDK::capabilityAgents::playbackController::PlaybackCommand::getEventPayload |
( |
| ) |
const |
|
pure virtual |
◆ toggleToCommand()
◆ operator<<
std::ostream& operator<< |
( |
std::ostream & |
, |
|
|
const PlaybackCommand & |
command |
|
) |
| |
|
friend |
Write a command
value to an ostream
as a string.
- Parameters
-
stream | The stream to write the value to. |
command | The PlaybackCommand value to write to the ostream as a string. |
- Returns
- The
ostream
that was passed in and written to.
◆ m_name
const std::string alexaClientSDK::capabilityAgents::playbackController::PlaybackCommand::m_name |
|
protected |
The distinct AVS name of a command.
The documentation for this class was generated from the following file:
- /workplace/avs-device-sdk/CapabilityAgents/PlaybackController/include/PlaybackController/PlaybackCommand.h
AlexaClientSDK 3.0.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved.
Licensed under the Apache License, Version 2.0