AlexaClientSDK  1.26.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
Namespaces | Macros | Functions | Variables
SharedAVSSettingProtocol.cpp File Reference
#include <AVSCommon/Utils/Logger/Logger.h>
#include <AVSCommon/Utils/Metrics/DataPointCounterBuilder.h>
#include <AVSCommon/Utils/Metrics/DataPointStringBuilder.h>
#include <AVSCommon/Utils/Metrics/MetricEventBuilder.h>
#include "Settings/SharedAVSSettingProtocol.h"
Include dependency graph for SharedAVSSettingProtocol.cpp:

Namespaces

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

Macros

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

Functions

static const std::string TAG ("SharedAVSSettingProtocol")
 String to identify log entries originating from this file. More...
 
static void alexaClientSDK::settings::submitMetric (const std::shared_ptr< avsCommon::utils::metrics::MetricRecorderInterface > &metricRecorder, const std::string &eventName, const std::string &settingsKey, uint64_t count)
 

Variables

static const std::string alexaClientSDK::settings::INVALID_VALUE = ""
 Protocol should call apply change with an empty string when no value is found in the database. More...
 
static const std::string alexaClientSDK::settings::METRIC_SOURCE_PREFIX = "SETTINGS-"
 The metrics source string. More...
 
static const std::string alexaClientSDK::settings::LOCAL_CHANGE_METRIC = "LOCAL_CHANGE"
 The local change metric string. More...
 
static const std::string alexaClientSDK::settings::LOCAL_CHANGE_FAILED_METRIC = "LOCAL_CHANGE_FAILED"
 The local change failed metric string. More...
 
static const std::string alexaClientSDK::settings::AVS_CHANGE_METRIC = "AVS_CHANGE"
 The AVS change metric string. More...
 
static const std::string alexaClientSDK::settings::AVS_CHANGE_FAILED_METRIC = "AVS_CHANGE_FAILED"
 The local change failed metric string. More...
 
static const std::string alexaClientSDK::settings::SETTING_KEY = "SETTING_KEY"
 The setting key metric string. 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 ( "SharedAVSSettingProtocol"  )
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