AlexaClientSDK
3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
|
Classes | |
class | AlexaKeypadControllerInterface |
Functions | |
std::string | keystrokeToString (Keystroke keystroke) |
avsCommon::utils::Optional< Keystroke > | stringToKeystroke (const std::string &keystrokeString) |
The Keystroke enumeration carries out keypad controller actions such as moving up, down, left, right or scrolling through voice-control.
std::string alexaClientSDK::acsdkAlexaKeypadControllerInterfaces::keystrokeToString | ( | Keystroke | keystroke | ) |
Convert a Keystroke
enum to its corresponding string value. Note that any keystroke
that does not map to Keystroke
enum value will return an empty string.
keystroke | The keystroke value to convert. |
keystroke
. Returns an empty string if keystroke
does not map to a Keystroke
enum. avsCommon::utils::Optional<Keystroke> alexaClientSDK::acsdkAlexaKeypadControllerInterfaces::stringToKeystroke | ( | const std::string & | keystrokeString | ) |
Convert a string to a corresponding Keystroke
enum value. Note that any keystrokeString
that does not map to Keystroke
enum value will return an Optional
object with no value.
keystrokeString | The keystroke string to convert. |
Optional
object, with the value as the corresponding Keystroke
enum value for keystrokeString
if there is a match. Otherwise, return an Optional
object with no value. AlexaClientSDK 3.0.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0