![]() |
AlexaClientSDK
3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
|
#include <EndpointAlexaChannelControllerHandler.h>
Static Public Member Functions | |
static std::shared_ptr< EndpointAlexaChannelControllerHandler > | create (std::string endpointName) |
Sample implementation of an AlexaChannelControllerInterface
.
|
override |
|
overridevirtual |
Changes the channel on the endpoint.
channel | The channel related values such as number, callSign and affiliateCallSign, uri, as well as metadata for the channel like name and image. |
ChannelControllerInterface::Response.type
should return SUCCESS if no errors were encountered. Otherwise, ChannelControllerInterface::Response.type
should contain the corresponding error code along with a log message in ChannelControllerInterface::Response.errorMessage
. Implements alexaClientSDK::alexaChannelControllerInterfaces::ChannelControllerInterface.
|
static |
Create a EndpointAlexaChannelControllerHandler object.
endpointName | The name of the endpoint. |
nullptr
.
|
overridevirtual |
Jump to the previous channel on the the endpoint. Decrementing the first channel must wrap to the end of the list.
ChannelControllerInterface::Response.type
should return SUCCESS if no errors were encountered. Otherwise, ChannelControllerInterface::Response.type
should contain the corresponding error code along with a log message in ChannelControllerInterface::Response.errorMessage
. Implements alexaClientSDK::alexaChannelControllerInterfaces::ChannelControllerInterface.
|
overridevirtual |
Get the current channel information of the endpoint.
Channel
of the endpoint Implements alexaClientSDK::alexaChannelControllerInterfaces::ChannelControllerInterface.
|
overridevirtual |
Jump to the next channel on the the endpoint. Incrementing the last channel must wrap to the beginning of the list.
ChannelControllerInterface::Response.type
should return SUCCESS if no errors were encountered. Otherwise, ChannelControllerInterface::Response.type
should contain the corresponding error code along with a log message in ChannelControllerInterface::Response.errorMessage
. Implements alexaClientSDK::alexaChannelControllerInterfaces::ChannelControllerInterface.
|
override |
AlexaClientSDK 3.0.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0