![]() |
AlexaClientSDK
3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
|
Classes | |
class | LocaleWakeWordsSetting |
class | NetworkInfo |
Enumerations | |
enum | AlarmVolumeRampTypes { AlarmVolumeRampTypes::NONE, AlarmVolumeRampTypes::ASCENDING } |
Functions | |
constexpr AlarmVolumeRampTypes | getAlarmVolumeRampDefault () |
constexpr bool | isEnabled (AlarmVolumeRampTypes volumeRamp) |
constexpr AlarmVolumeRampTypes | toAlarmRamp (bool enabled) |
std::ostream & | operator<< (std::ostream &stream, const AlarmVolumeRampTypes &value) |
std::istream & | operator>> (std::istream &is, AlarmVolumeRampTypes &value) |
std::ostream & | operator<< (std::ostream &os, const NetworkInfo &info) |
std::istream & | operator>> (std::istream &is, NetworkInfo &info) |
constexpr AlarmVolumeRampTypes alexaClientSDK::settings::types::getAlarmVolumeRampDefault | ( | ) |
Retrieves the default value of alarm volume ramp.
constexpr bool alexaClientSDK::settings::types::isEnabled | ( | AlarmVolumeRampTypes | volumeRamp | ) |
Convert AlarmVolumeRampTypes
to boolean logic since the UI experience is enable / disable.
volumeRamp | The setting value. |
|
inline |
Write a AlarmVolumeRampTypes
value to the given stream.
stream | The stream to write the value to. |
value | The value to write to the stream as a string. |
std::ostream& alexaClientSDK::settings::types::operator<< | ( | std::ostream & | os, |
const NetworkInfo & | info | ||
) |
Write a NetworkInfo
value to the given stream in json format.
stream | The stream to write the value to. |
info | The network info to write to the stream as a string. |
|
inline |
Converts an input string stream value to AlarmVolumeRampTypes.
stream | The string stream to retrieve the value from. | |
[out] | value | The value to write to. |
std::istream& alexaClientSDK::settings::types::operator>> | ( | std::istream & | is, |
NetworkInfo & | info | ||
) |
Converts an input string stream value formatted as json document to NetworkInfo.
stream | The string stream to retrieve the value from. | |
[out] | info | The network info to write to. |
constexpr AlarmVolumeRampTypes alexaClientSDK::settings::types::toAlarmRamp | ( | bool | enabled | ) |
Convert boolean to AlarmVolumeRampTypes
.
enabled | Whether fade-in is enabled or not. |
AlexaClientSDK 3.0.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0