AlexaClientSDK  1.26.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
Namespaces | Macros | Functions | Variables
UserInactivityMonitor.cpp File Reference
#include "System/UserInactivityMonitor.h"
#include <functional>
#include <rapidjson/document.h>
#include <rapidjson/pointer.h>
#include <rapidjson/stringbuffer.h>
#include <rapidjson/writer.h>
#include <AVSCommon/Utils/JSON/JSONUtils.h>
Include dependency graph for UserInactivityMonitor.cpp:

Namespaces

 alexaClientSDK
 Whether or not curl logs should be emitted.
 
 alexaClientSDK::capabilityAgents
 
 alexaClientSDK::capabilityAgents::system
 

Macros

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

Functions

static const std::string alexaClientSDK::capabilityAgents::system::TAG ("UserInactivityMonitor")
 String to identify log entries originating from this file. More...
 

Variables

static const int alexaClientSDK::capabilityAgents::system::SECONDS_IN_HOUR = 3600
 Number of seconds in one hour. More...
 
static const std::string alexaClientSDK::capabilityAgents::system::USER_INACTIVITY_MONITOR_NAMESPACE = "System"
 String to identify the AVS namespace of the event we send. More...
 
static const std::string alexaClientSDK::capabilityAgents::system::INACTIVITY_EVENT_NAME = "UserInactivityReport"
 String to identify the AVS name of the event we send. More...
 
static const std::string alexaClientSDK::capabilityAgents::system::INACTIVITY_EVENT_PAYLOAD_KEY = "inactiveTimeInSeconds"
 String to identify the key of the payload associated to the inactivity. More...
 
static const std::string alexaClientSDK::capabilityAgents::system::RESET_DIRECTIVE_NAME = "ResetUserInactivity"
 String to identify the AVS name of the directive we receive. 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-2021 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0