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

Namespaces

 alexaClientSDK
 Whether or not curl logs should be emitted.
 
 alexaClientSDK::avsCommon
 
 alexaClientSDK::avsCommon::utils
 
 alexaClientSDK::avsCommon::utils::mediaPlayer
 

Macros

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

Functions

static const std::string alexaClientSDK::avsCommon::utils::mediaPlayer::TAG ("PlaybackContext")
 String to identify log entries originating from this file. More...
 
bool alexaClientSDK::avsCommon::utils::mediaPlayer::validateIfNotMalicious (const std::string &header)
 
static std::pair< bool, bool > alexaClientSDK::avsCommon::utils::mediaPlayer::validatePlaybackContextHeadersInternal (HeaderConfig *headerConfig)
 
std::pair< bool, bool > alexaClientSDK::avsCommon::utils::mediaPlayer::validatePlaybackContextHeaders (PlaybackContext *playbackContext)
 

Variables

static const std::string alexaClientSDK::avsCommon::utils::mediaPlayer::AUTHORIZATION = "Authorization"
 
static const std::string alexaClientSDK::avsCommon::utils::mediaPlayer::ALLOWED_PREFIX = "x-"
 
static const std::string alexaClientSDK::avsCommon::utils::mediaPlayer::ALLOWED_PREFIX_CAP = "X-"
 
static const std::string alexaClientSDK::avsCommon::utils::mediaPlayer::COOKIE = "Cookie"
 
static const unsigned int alexaClientSDK::avsCommon::utils::mediaPlayer::MIN_KEY_LENGTH = 3
 
static const unsigned int alexaClientSDK::avsCommon::utils::mediaPlayer::MAX_KEY_LENGTH = 256
 
static const unsigned int alexaClientSDK::avsCommon::utils::mediaPlayer::MAX_VALUE_LENGTH = 4096
 
static const unsigned int alexaClientSDK::avsCommon::utils::mediaPlayer::MAX_ENTRIES_PER_CONFIG = 20
 

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