![]() |
AlexaClientSDK
1.26.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
|
#include <InputControllerHandler.h>


Public Member Functions | |
InputControllerHandlerInterface methods | |
| virtual InputConfigurations | getConfiguration () override |
| virtual bool | onInputChange (const std::string &input) override |
Public Member Functions inherited from alexaClientSDK::acsdkInputControllerInterfaces::InputControllerHandlerInterface | |
| virtual | ~InputControllerHandlerInterface ()=default |
Static Public Member Functions | |
| static std::shared_ptr< InputControllerHandler > | create () |
Additional Inherited Members | |
Public Types inherited from alexaClientSDK::acsdkInputControllerInterfaces::InputControllerHandlerInterface | |
| using | InputFriendlyNameType = std::unordered_map< std::string, std::unordered_set< std::string > > |
Sample implementation of an InputControllerHandlerInterface.
|
static |
Create a InputControllerHandler object.
nullptr.
|
overridevirtual |
A function to get the input configuration of the device.
InputConfigurations of the device. Implements alexaClientSDK::acsdkInputControllerInterfaces::InputControllerHandlerInterface.
|
overridevirtual |
A callback function to request the change of the input on the device. The InputController does not remember the previous input, so this callback will be called whenever AVS notifies a change in input. Also, during initialization, the application is responsible for remembering the previous input, as the InputController does not notify the application of the previous input with this callback.
| input | The selected input on the product. The input is guaranteed to be one of the inputs as specified in the InputConfigurations from getConfiguration(). |
Implements alexaClientSDK::acsdkInputControllerInterfaces::InputControllerHandlerInterface.
AlexaClientSDK 1.26.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0