AlexaClientSDK  3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
Public Member Functions | List of all members
alexaClientSDK::capabilityAgents::playbackController::ButtonCommand_v1_1 Class Reference

#include <PlaybackCommand.h>

Inheritance diagram for alexaClientSDK::capabilityAgents::playbackController::ButtonCommand_v1_1:
Inheritance graph
[legend]
Collaboration diagram for alexaClientSDK::capabilityAgents::playbackController::ButtonCommand_v1_1:
Collaboration graph
[legend]

Public Member Functions

 ButtonCommand_v1_1 (const std::string &name)
 
PlaybackCommand functions
std::string getEventName () const override
 
std::string getEventPayload () const override
 
- Public Member Functions inherited from alexaClientSDK::capabilityAgents::playbackController::PlaybackCommand
 PlaybackCommand (const std::string &name)
 
virtual ~PlaybackCommand ()=default
 

Additional Inherited Members

- Static Public Member Functions inherited from alexaClientSDK::capabilityAgents::playbackController::PlaybackCommand
static const PlaybackCommandbuttonToCommand (avsCommon::avs::PlaybackButton button)
 
static const PlaybackCommandtoggleToCommand (avsCommon::avs::PlaybackToggle toggle, bool action)
 
- Protected Attributes inherited from alexaClientSDK::capabilityAgents::playbackController::PlaybackCommand
const std::string m_name
 The distinct AVS name of a command. More...
 

Detailed Description

This class represents a PlaybackController 1.1 interface ButtonCommandIssued.

Constructor & Destructor Documentation

◆ ButtonCommand_v1_1()

alexaClientSDK::capabilityAgents::playbackController::ButtonCommand_v1_1::ButtonCommand_v1_1 ( const std::string &  name)

Constructor

Parameters
nameEvent name.

Member Function Documentation

◆ getEventName()

std::string alexaClientSDK::capabilityAgents::playbackController::ButtonCommand_v1_1::getEventName ( ) const
overridevirtual

Get the event name associated with this command.

Returns
Event name.

Implements alexaClientSDK::capabilityAgents::playbackController::PlaybackCommand.

◆ getEventPayload()

std::string alexaClientSDK::capabilityAgents::playbackController::ButtonCommand_v1_1::getEventPayload ( ) const
overridevirtual

Get the Event's payload of this command

Returns
Event's payload

Implements alexaClientSDK::capabilityAgents::playbackController::PlaybackCommand.


The documentation for this class was generated from the following file:

AlexaClientSDK 3.0.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0