AlexaClientSDK
3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
|
#include <EndpointAlexaKeypadControllerHandler.h>
Public Member Functions | |
AlexaKeypadControllerInterface methods | |
acsdkAlexaKeypadControllerInterfaces::AlexaKeypadControllerInterface::Response | handleKeystroke (acsdkAlexaKeypadControllerInterfaces::Keystroke keystroke) override |
std::set< acsdkAlexaKeypadControllerInterfaces::Keystroke > | getSupportedKeys () override |
Public Member Functions inherited from alexaClientSDK::acsdkAlexaKeypadControllerInterfaces::AlexaKeypadControllerInterface | |
virtual | ~AlexaKeypadControllerInterface ()=default |
Static Public Member Functions | |
static std::shared_ptr< EndpointAlexaKeypadControllerHandler > | create (const std::string &endpointName) |
Sample implementation of an AlexaKeypadControllerInterface
.
|
static |
Create a AlexaKeypadControllerHandler object.
endpointName | The name of the endpoint. |
AlexaKeypadControllerHandler
object if it succeeds; otherwise, nullptr
.
|
overridevirtual |
Returns all supported keystrokes the device is expected to understand.
Keystroke
set object that contains supported key stroke properties. e.g. UP, DOWN, LEFT, RIGHT, SELECT Implements alexaClientSDK::acsdkAlexaKeypadControllerInterfaces::AlexaKeypadControllerInterface.
|
overridevirtual |
Execute keystroke operation on the device
keystroke | The Keystroke value user asked for |
Response
to indicate whether keystroke event was successfully executed or encountered an error while executing. Implements alexaClientSDK::acsdkAlexaKeypadControllerInterfaces::AlexaKeypadControllerInterface.
AlexaClientSDK 3.0.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0