AlexaClientSDK  1.26.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
Namespaces | Macros | Functions | Variables
LocaleWakeWordsSetting.cpp File Reference
#include <algorithm>
#include <atomic>
#include <limits>
#include <AVSCommon/Utils/Error/FinallyGuard.h>
#include <AVSCommon/Utils/Logger/Logger.h>
#include "Settings/SettingStringConversion.h"
#include "Settings/Types/LocaleWakeWordsSetting.h"
Include dependency graph for LocaleWakeWordsSetting.cpp:

Namespaces

 alexaClientSDK
 Whether or not curl logs should be emitted.
 
 alexaClientSDK::settings
 
 alexaClientSDK::settings::types
 

Macros

#define LX(event)   alexaClientSDK::avsCommon::utils::logger::LogEntry(TAG, event)
 

Functions

static const std::string TAG ("LocaleWakeWordsSetting")
 String to identify log entries originating from this file. More...
 
static std::string alexaClientSDK::settings::types::toJsonString (const WakeWords &wakeWords)
 
static bool alexaClientSDK::settings::types::sendEvent (const std::shared_ptr< SettingEventSenderInterface > &sender, SettingStatus status, const std::string &jsonString)
 
static LocaleWakeWordsSetting::RequestType alexaClientSDK::settings::types::toRequestType (SettingStatus status)
 
static WakeWords alexaClientSDK::settings::types::toWakeWords (const std::string &jsonValue)
 
static LocaleWakeWordsSetting::RequestId alexaClientSDK::settings::types::nextId ()
 
static Locale alexaClientSDK::settings::types::getPrimary (const DeviceLocales &locales)
 
static bool alexaClientSDK::settings::types::returnValueFromSetSettingResult (const SetSettingResult &status)
 

Variables

static const std::string alexaClientSDK::settings::types::LOCALE_KEY = "System.locales"
 Key used for locale. More...
 
static const std::string alexaClientSDK::settings::types::WAKE_WORDS_KEY = "SpeechRecognizer.wakeWords"
 Key used for locale. More...
 
static const WakeWords alexaClientSDK::settings::types::DEFAULT_WAKE_WORDS {"ALEXA"}
 Default wake word. More...
 
static constexpr size_t alexaClientSDK::settings::types::PRIMARY_LOCALE_INDEX = 0
 The index of the primary locale. More...
 

Macro Definition Documentation

◆ LX

#define LX (   event)    alexaClientSDK::avsCommon::utils::logger::LogEntry(TAG, event)

Create a LogEntry using this file's TAG and the specified event string.

Parameters
Theevent string for this LogEntry.

Function Documentation

◆ TAG()

static const std::string TAG ( "LocaleWakeWordsSetting"  )
static

String to identify log entries originating from this file.

AlexaClientSDK 1.26.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0