AlexaClientSDK  1.26.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
Classes | Functions | Variables
alexaClientSDK::acsdkAssets::davs Namespace Reference

Classes

class  DavsClient
 
class  DavsEndpointHandlerV3
 
class  DavsHandler
 

Functions

static SuccessResult< string > generatedEncodedFilters (const DavsRequest::FilterMap &filtersMap)
 Generate encoded filters using filter map from a request. More...
 
static string getUrlEndpoint (Region endpoint)
 get the proper endpoint for davs per region More...
 
static bool isValidMimeType (const string &contentType)
 
static bool isMultpart (const string &contentType)
 

Variables

static constexpr auto BASE_BACKOFF_VALUE_MS = milliseconds(500)
 
static constexpr auto MAX_BACKOFF_VALUE_MS = minutes(60)
 
static const auto s_metrics = AmdMetricsWrapper::creator("DavsClient")
 
static constexpr auto JSON_ARTIFACT_KEY_SYMBOL = "key"
 
static constexpr auto JSON_ARTIFACT_TYPE_SYMBOL = "type"
 
static constexpr auto JSON_ARTIFACT_LIST_SYMBOL = "artifactList"
 
static const string TAG {"DavsClient"}
 String to identify log entries originating from this file. More...
 
static const string TAG {"DavsEndpointHandlerV3"}
 
static const float JITTER_FACTOR = 0.3
 
static constexpr auto MIN_UPDATE_INTERVAL = minutes(15)
 
static constexpr auto MAX_CHECK_RETRY = 4
 
static constexpr auto MAX_DOWNLOAD_RETRY = 8
 
static constexpr auto NETWORK_CONNECTION_WAIT_TIME = seconds(20)
 
static constexpr auto MS_IN_SEC = 1000
 
static constexpr auto BYTES_IN_KB = 1024
 
static const string TAG {"DavsHandler"}
 String to identify log entries originating from this file. More...
 

Function Documentation

◆ generatedEncodedFilters()

static SuccessResult<string> alexaClientSDK::acsdkAssets::davs::generatedEncodedFilters ( const DavsRequest::FilterMap filtersMap)
static

Generate encoded filters using filter map from a request.

◆ getUrlEndpoint()

static string alexaClientSDK::acsdkAssets::davs::getUrlEndpoint ( Region  endpoint)
static

get the proper endpoint for davs per region

◆ isMultpart()

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

◆ isValidMimeType()

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

Variable Documentation

◆ BASE_BACKOFF_VALUE_MS

constexpr auto alexaClientSDK::acsdkAssets::davs::BASE_BACKOFF_VALUE_MS = milliseconds(500)
staticconstexpr

◆ BYTES_IN_KB

constexpr auto alexaClientSDK::acsdkAssets::davs::BYTES_IN_KB = 1024
staticconstexpr

◆ JITTER_FACTOR

const float alexaClientSDK::acsdkAssets::davs::JITTER_FACTOR = 0.3
static

◆ JSON_ARTIFACT_KEY_SYMBOL

constexpr auto alexaClientSDK::acsdkAssets::davs::JSON_ARTIFACT_KEY_SYMBOL = "key"
staticconstexpr

◆ JSON_ARTIFACT_LIST_SYMBOL

constexpr auto alexaClientSDK::acsdkAssets::davs::JSON_ARTIFACT_LIST_SYMBOL = "artifactList"
staticconstexpr

◆ JSON_ARTIFACT_TYPE_SYMBOL

constexpr auto alexaClientSDK::acsdkAssets::davs::JSON_ARTIFACT_TYPE_SYMBOL = "type"
staticconstexpr

◆ MAX_BACKOFF_VALUE_MS

constexpr auto alexaClientSDK::acsdkAssets::davs::MAX_BACKOFF_VALUE_MS = minutes(60)
staticconstexpr

◆ MAX_CHECK_RETRY

constexpr auto alexaClientSDK::acsdkAssets::davs::MAX_CHECK_RETRY = 4
staticconstexpr

◆ MAX_DOWNLOAD_RETRY

constexpr auto alexaClientSDK::acsdkAssets::davs::MAX_DOWNLOAD_RETRY = 8
staticconstexpr

◆ MIN_UPDATE_INTERVAL

constexpr auto alexaClientSDK::acsdkAssets::davs::MIN_UPDATE_INTERVAL = minutes(15)
staticconstexpr

◆ MS_IN_SEC

constexpr auto alexaClientSDK::acsdkAssets::davs::MS_IN_SEC = 1000
staticconstexpr

◆ NETWORK_CONNECTION_WAIT_TIME

constexpr auto alexaClientSDK::acsdkAssets::davs::NETWORK_CONNECTION_WAIT_TIME = seconds(20)
staticconstexpr

◆ s_metrics

const auto alexaClientSDK::acsdkAssets::davs::s_metrics = AmdMetricsWrapper::creator("DavsClient")
static

◆ TAG [1/3]

const string alexaClientSDK::acsdkAssets::davs::TAG {"DavsEndpointHandlerV3"}
static

◆ TAG [2/3]

const string alexaClientSDK::acsdkAssets::davs::TAG {"DavsClient"}
static

String to identify log entries originating from this file.

◆ TAG [3/3]

const string alexaClientSDK::acsdkAssets::davs::TAG {"DavsHandler"}
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