AlexaClientSDK  1.26.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
Namespaces | Macros | Functions | Variables
DavsHandler.cpp File Reference
#include "acsdkDavsClient/DavsHandler.h"
#include <AVSCommon/Utils/Error/FinallyGuard.h>
#include <AVSCommon/Utils/FileSystem/FileSystemUtils.h>
#include <AVSCommon/Utils/JSON/JSONGenerator.h>
#include <AVSCommon/Utils/Power/WakeGuard.h>
#include <future>
#include "acsdkAssetsCommon/Base64Url.h"
#include "acsdkAssetsCommon/CurlWrapper.h"
#include "acsdkAssetsCommon/JitterUtil.h"
#include "acsdkAssetsCommon/ResponseSink.h"
Include dependency graph for DavsHandler.cpp:

Namespaces

 alexaClientSDK
 Whether or not curl logs should be emitted.
 
 alexaClientSDK::acsdkAssets
 
 alexaClientSDK::acsdkAssets::davs
 

Macros

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

Functions

static bool alexaClientSDK::acsdkAssets::davs::isValidMimeType (const string &contentType)
 
static bool alexaClientSDK::acsdkAssets::davs::isMultpart (const string &contentType)
 

Variables

static const float alexaClientSDK::acsdkAssets::davs::JITTER_FACTOR = 0.3
 
static constexpr auto alexaClientSDK::acsdkAssets::davs::MIN_UPDATE_INTERVAL = minutes(15)
 
static constexpr auto alexaClientSDK::acsdkAssets::davs::MAX_CHECK_RETRY = 4
 
static constexpr auto alexaClientSDK::acsdkAssets::davs::MAX_DOWNLOAD_RETRY = 8
 
static constexpr auto alexaClientSDK::acsdkAssets::davs::NETWORK_CONNECTION_WAIT_TIME = seconds(20)
 
static constexpr auto alexaClientSDK::acsdkAssets::davs::MS_IN_SEC = 1000
 
static constexpr auto alexaClientSDK::acsdkAssets::davs::BYTES_IN_KB = 1024
 
static const string alexaClientSDK::acsdkAssets::davs::TAG {"DavsHandler"}
 String to identify log entries originating from this file. 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