#include <FocusManager.h>
The configuration used by the FocusManager to create Channel objects. Each configuration object has a name and priority.
◆ ChannelConfiguration()
alexaClientSDK::afml::FocusManager::ChannelConfiguration::ChannelConfiguration |
( |
const std::string & |
configName, |
|
|
unsigned int |
configPriority |
|
) |
| |
|
inline |
Constructor.
- Parameters
-
configName | The name of the Channel. |
configPriority | The priority of the channel. Lower number priorities result in higher priority Channels. The highest priority number possible is 0. |
◆ readChannelConfiguration()
static bool alexaClientSDK::afml::FocusManager::ChannelConfiguration::readChannelConfiguration |
( |
const std::string & |
channelTypeKey, |
|
|
std::vector< afml::FocusManager::ChannelConfiguration > * |
virtualChannelConfigurations |
|
) |
| |
|
static |
Get the virtual channel configurations.
- Parameters
-
| channelTypeKey | The key of the virtual channel configuration to get. |
[out] | virtualChannelConfiguration | The ChannelConfiguration for the virtual channels as specified in channelTypeKey . An empty vector if there is no such info on the configuration file. |
- Returns
- true if there's no error, false otherwise.
◆ toString()
std::string alexaClientSDK::afml::FocusManager::ChannelConfiguration::toString |
( |
| ) |
const |
|
inline |
◆ name
std::string alexaClientSDK::afml::FocusManager::ChannelConfiguration::name |
◆ priority
unsigned int alexaClientSDK::afml::FocusManager::ChannelConfiguration::priority |
The priority of the channel.
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