![]()  | 
  
    AlexaClientSDK
    3.0.0
    
   A cross-platform, modular SDK for interacting with the Alexa Voice Service 
   | 
 
Namespaces | |
| storage | |
| test | |
| types | |
Classes | |
| class | CloudControlledSettingProtocol | 
| class | DeviceControlledSettingProtocol | 
| class | Setting | 
| class | SettingCallbackAdapter | 
| class | SettingCallbackAdapterInterface | 
| class | SettingCallbacks | 
| struct | SettingConfiguration | 
| class | SettingConnectionObserver | 
| struct | SettingEventMetadata | 
| class | SettingEventRequestObserver | 
| class | SettingEventSender | 
| class | SettingEventSenderInterface | 
| class | SettingInterface | 
| class | SettingObserverInterface | 
| class | SettingProtocolInterface | 
| class | SettingsManager | 
| class | SettingsManagerBuilderBase | 
| class | SettingsManagerBuilderBase< settings::SettingsManager< SettingsT... > > | 
| class | SharedAVSSettingProtocol | 
Functions | |
| std::ostream & | operator<< (std::ostream &stream, const SettingNotifications &value) | 
| std::string | settingStatusToString (SettingStatus status) | 
| SettingStatus | stringToSettingStatus (const std::string &statusString) | 
| template<typename ValueT > | |
| static constexpr bool | isIntegralByteType () | 
| template<typename ValueT , typename = IntegralByteType<ValueT>> | |
| std::pair< bool, std::string > | toSettingString (const IntegralByteType< ValueT > &value) | 
| template<typename ValueT , typename = IntegralByteType<ValueT>> | |
| std::pair< bool, ValueT > | fromSettingString (const std::string &str, const IntegralByteType< ValueT > &defaultValue) | 
| template<typename ValueT > | |
| static constexpr bool | isEnumOrString () | 
| template<typename ValueT , typename = EnumOrString<ValueT>> | |
| std::pair< bool, std::string > | toSettingString (const ValueT &value) | 
| template<typename ValueT , typename = EnumOrString<ValueT>> | |
| std::pair< bool, ValueT > | fromSettingString (const std::string &str, const ValueT &defaultValue) | 
| template<typename ValueT > | |
| static constexpr bool | isStringCollection () | 
| template<typename ValueT , StringCollection< ValueT > * = nullptr> | |
| std::pair< bool, std::string > | toSettingString (const StringCollection< ValueT > &value) | 
| template<typename ValueT , StringCollection< ValueT > * = nullptr> | |
| std::pair< bool, ValueT > | fromSettingString (const std::string &str, const StringCollection< ValueT > &defaultValue) | 
| template<typename ValueT > | |
| std::pair< bool, std::string > | toSettingString (const OtherTypes< ValueT > &value) | 
| template<typename ValueT > | |
| std::pair< bool, ValueT > | fromSettingString (const std::string &str, const OtherTypes< ValueT > &defaultValue) | 
| SpeechConfirmationSettingType | getSpeechConfirmationDefault () | 
| std::ostream & | operator<< (std::ostream &stream, const SpeechConfirmationSettingType &value) | 
| std::istream & | operator>> (std::istream &is, SpeechConfirmationSettingType &value) | 
| WakeWordConfirmationSettingType | getWakeWordConfirmationDefault () | 
| std::ostream & | operator<< (std::ostream &stream, const WakeWordConfirmationSettingType &value) | 
| std::istream & | operator>> (std::istream &is, WakeWordConfirmationSettingType &value) | 
Variables | |
| m_applyFunction {applyValueFn} | |
| m_protocol {std::move(settingProtocol)} | |
| constexpr char | QUOTE = '"' | 
| Quote used for json string values.  More... | |
| static const std::string | EMPTY_JSON_LIST = "[]" | 
| using alexaClientSDK::settings::AlarmVolumeRampSetting = typedef SettingInterface<types::AlarmVolumeRampTypes> | 
Forward declaration for AlarmVolumeRamp setting.
| using alexaClientSDK::settings::DeviceLocales = typedef std::vector<Locale> | 
Alias for locales enabled in the device.
An alias to shorten the name.
The DeviceSettingsManager will manage all common settings to alexa devices.
| using alexaClientSDK::settings::DoNotDisturbSetting = typedef SettingInterface<bool> | 
Type for do not disturb setting.
| using alexaClientSDK::settings::EnumOrString = typedef typename std::enable_if<isEnumOrString<ValueT>(), ValueT>::type | 
Define a valid type for enums and string types.
| ValueT | The value type. This will only be a valid type for enums and string. | 
| using alexaClientSDK::settings::IntegralByteType = typedef typename std::enable_if<isIntegralByteType<ValueT>(), ValueT>::type | 
Define a valid type for int8_t and uint8_t.
| ValueT | The value type. This will only be a valid type for int8_t or uint8_t. | 
| using alexaClientSDK::settings::Locale = typedef std::string | 
Alias for the locale type.
| using alexaClientSDK::settings::LocalesSetting = typedef SettingInterface<DeviceLocales> | 
Type for locale.
Type for network info.
| using alexaClientSDK::settings::OtherTypes = typedef typename std::enable_if< !isEnumOrString<ValueT>() && !isIntegralByteType<ValueT>() && !isStringCollection<ValueT>(), ValueT>::type | 
Define a valid type for arithmetic types (except (u)int8_t), and classes.
| ValueT | The value type. This will only be a valid type for arithmetic types (except (u)int8_t), and classes. | 
| using alexaClientSDK::settings::SpeechConfirmationSetting = typedef SettingInterface<SpeechConfirmationSettingType> | 
Type for end of speech confirmation setting.
| using alexaClientSDK::settings::StringCollection = typedef typename std::enable_if<isStringCollection<ValueT>(), ValueT>::type | 
Define a valid type for string collection.
| ValueT | The value type. This will only be a valid type for string collection. | 
| using alexaClientSDK::settings::TimeZoneSetting = typedef SettingInterface<std::string> | 
Type for time zone setting.
| using alexaClientSDK::settings::WakeWord = typedef std::string | 
Alias for the wake word type.
| using alexaClientSDK::settings::WakeWordConfirmationSetting = typedef SettingInterface<WakeWordConfirmationSettingType> | 
Type for wake word confirmation setting.
| using alexaClientSDK::settings::WakeWords = typedef std::set<WakeWord> | 
Alias for a set of wake words type.
| using alexaClientSDK::settings::WakeWordsSetting = typedef SettingInterface<WakeWords> | 
Type for wake words.
Enumerates the settings that are kept inside DeviceSettingsManager.
| Enumerator | |
|---|---|
| DO_NOT_DISTURB | |
| ALARM_VOLUME_RAMP | |
| WAKEWORD_CONFIRMATION | |
| SPEECH_CONFIRMATION | |
| TIMEZONE | |
| WAKE_WORDS | |
| LOCALE | |
| NETWORK_INFO | |
      
  | 
  strong | 
Enumerate the type of notifications.
| Enumerator | |
|---|---|
| LOCAL_CHANGE_IN_PROGRESS | The setting that was changed locally is being applied.  | 
| AVS_CHANGE_IN_PROGRESS | The setting that was changed via cloud is being applied.  | 
| LOCAL_CHANGE | Setting value changed due to a local change.  | 
| AVS_CHANGE | Setting value changed due to a change requested via cloud.  | 
| LOCAL_CHANGE_FAILED | Local request failed.  | 
| AVS_CHANGE_FAILED | AVS request failed.  | 
| LOCAL_CHANGE_CANCELLED | Local request cancelled due to a new request.  | 
| AVS_CHANGE_CANCELLED | AVS request cancelled due to a new request.  | 
      
  | 
  strong | 
Specifies the state of a setting.
| std::pair<bool, ValueT> alexaClientSDK::settings::fromSettingString | ( | const std::string & | str, | 
| const IntegralByteType< ValueT > & | defaultValue | ||
| ) | 
Convert a string (json format) to (int8_t or uint8_t) setting representation.
| ValueT | The value type (either int8_t or uint8_t). | 
| str | The json string that represents the object. | 
| defaultValue | In case the string conversion fails, we'll return this default value. | 
| std::pair<bool, ValueT> alexaClientSDK::settings::fromSettingString | ( | const std::string & | str, | 
| const ValueT & | defaultValue | ||
| ) | 
Convert a string (json format) to setting representation for strings and enums.
| ValueT | The value type. | 
| str | The json string that represents the object. | 
| defaultValue | In case the string conversion fails, we'll return this default value. | 
| std::pair<bool, ValueT> alexaClientSDK::settings::fromSettingString | ( | const std::string & | str, | 
| const StringCollection< ValueT > & | defaultValue | ||
| ) | 
Convert a string (json format) to the setting representation for a string collection.
| ValueT | The value type. | 
| str | The json string that represents the object. | 
| defaultValue | In case the string conversion fails, we'll return this default value. | 
| std::pair<bool, ValueT> alexaClientSDK::settings::fromSettingString | ( | const std::string & | str, | 
| const OtherTypes< ValueT > & | defaultValue | ||
| ) | 
Convert a string (json format) to setting representation for arithmetic types (except (u)int8_t), and classes.
| ValueT | The value type. | 
| str | The json string that represents the object. | 
| defaultValue | In case the string conversion fails, we'll return this default value. | 
      
  | 
  inline | 
Retrieves the default value of speech confirmation
      
  | 
  inline | 
Retrieves the default value of wake word confirmation
      
  | 
  static | 
Test whether the type is either an enum type or string.
| ValueT | The value type to be tested. | 
true if the given type is string or enum; false otherwise. 
      
  | 
  static | 
Test whether the type is int8_t or uint8_t.
| ValueT | The value type to be tested. | 
true if the given type is (u)int8_t; false otherwise. 
      
  | 
  static | 
Test whether the type is a string collection.
| ValueT | The value type to be tested. | 
true if the given type is a string set; false otherwise. 
      
  | 
  inline | 
Write a SpeechConfirmationSettingType value to the given stream.
| stream | The stream to write the value to. | 
| value | The value to write to the stream as a string. | 
      
  | 
  inline | 
Write a WakeWordConfirmationSettingType value to the given stream.
| stream | The stream to write the value to. | 
| value | The value to write to the stream as a string. | 
      
  | 
  inline | 
Write a SettingNotifications value to the given stream.
| stream | The stream to write the value to. | 
| value | The value to write to the stream as a string. | 
      
  | 
  inline | 
Converts an input string stream value to SpeechConfirmationSettingType.
| stream | The string stream to retrieve the value from. | |
| [out] | value | The value to write to. | 
      
  | 
  inline | 
Converts an input string stream value to WakeWordConfirmationSettingType.
| stream | The string stream to retrieve the value from. | |
| [out] | value | The value to write to. | 
      
  | 
  inline | 
This function converts the provided SettingStatus to a string.
| status | The SettingStatus to convert to a string.  | 
SettingStatus. 
      
  | 
  inline | 
This function parses a string and converts it to its corresponding SettingStatus.
| statusString | The string to be converted to SettingStatus.  | 
SettingStatus corresponding to the string provided. | std::pair<bool, std::string> alexaClientSDK::settings::toSettingString | ( | const IntegralByteType< ValueT > & | value | ) | 
Convert a setting that is either a int8_t or uint8_t to a string (json format) representation.
| ValueT | The value type (either int8_t or uint8_t). | 
| value | The value to be converted. | 
| std::pair<bool, std::string> alexaClientSDK::settings::toSettingString | ( | const ValueT & | value | ) | 
Convert a setting that is either a enum or string to a json format string representation.
| ValueT | The value type. | 
| value | The value to be converted. | 
| std::pair<bool, std::string> alexaClientSDK::settings::toSettingString | ( | const StringCollection< ValueT > & | value | ) | 
Convert a setting that is a string collection to a json format string representation.
| ValueT | The value type. | 
| value | The value to be converted. | 
| std::pair<bool, std::string> alexaClientSDK::settings::toSettingString | ( | const OtherTypes< ValueT > & | value | ) | 
Convert a setting that is either arithmetic types (except (u)int8_t), and classes to a json format representation.
| ValueT | The value type. | 
| value | The value to be converted. | 
      
  | 
  static | 
| alexaClientSDK::settings::m_applyFunction {applyValueFn} | 
| alexaClientSDK::settings::m_protocol {std::move(settingProtocol)} | 
| constexpr char alexaClientSDK::settings::QUOTE = '"' | 
Quote used for json string values.
AlexaClientSDK 3.0.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0