AlexaClientSDK  1.26.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
Namespaces | Macros | Functions | Variables
AudioActivityTracker.cpp File Reference
#include <utility>
#include <rapidjson/stringbuffer.h>
#include <rapidjson/writer.h>
#include <rapidjson/error/en.h>
#include <AVSCommon/AVS/CapabilityConfiguration.h>
#include <AVSCommon/SDKInterfaces/FocusManagerInterface.h>
#include <AVSCommon/Utils/Logger/Logger.h>
#include <AVSCommon/Utils/String/StringUtils.h>
#include "AFML/AudioActivityTracker.h"
Include dependency graph for AudioActivityTracker.cpp:

Namespaces

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

Macros

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

Functions

static const std::string alexaClientSDK::afml::TAG ("AudioActivityTracker")
 String to identify log entries originating from this file. More...
 
static std::shared_ptr< avsCommon::avs::CapabilityConfiguration > alexaClientSDK::afml::getAudioActivityTrackerCapabilityConfiguration ()
 

Variables

static const std::string alexaClientSDK::afml::AUDIOACTIVITYTRACKER_CAPABILITY_INTERFACE_TYPE = "AlexaInterface"
 
static const std::string alexaClientSDK::afml::AUDIOACTIVITYTRACKER_CAPABILITY_INTERFACE_NAME = "AudioActivityTracker"
 AudioActivityTracker interface name. More...
 
static const std::string alexaClientSDK::afml::AUDIOACTIVITYTRACKER_CAPABILITY_INTERFACE_VERSION = "1.0"
 AudioActivityTracker interface version. More...
 
static const NamespaceAndName alexaClientSDK::afml::CONTEXT_MANAGER_STATE {"AudioActivityTracker", "ActivityState"}
 The state information NamespaceAndName to send to the ContextManager for AudioActivityTracker. More...
 
static const char alexaClientSDK::afml::IDLE_TIME_KEY [] = "idleTimeInMilliseconds"
 The idleTime key used in the AudioActivityTracker context. More...
 
static const char alexaClientSDK::afml::INTERFACE_KEY [] = "interface"
 The interface key used in the AudioActivityTracker context. 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.

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