AlexaClientSDK  3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
Namespaces | Enumerations | Functions | Variables
AdapterUtils.h File Reference
#include <rapidjson/document.h>
#include <rapidjson/error/en.h>
#include <rapidjson/stringbuffer.h>
#include <rapidjson/writer.h>
#include <map>
#include <AVSCommon/AVS/NamespaceAndName.h>
#include <AVSCommon/Utils/RetryTimer.h>
#include "acsdkExternalMediaPlayerInterfaces/ExternalMediaAdapterInterface.h"
Include dependency graph for AdapterUtils.h:

Go to the source code of this file.

Namespaces

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

Enumerations

enum  alexaClientSDK::acsdkExternalMediaPlayerInterfaces::AdapterEvent {
  alexaClientSDK::acsdkExternalMediaPlayerInterfaces::AdapterEvent::CHANGE_REPORT, alexaClientSDK::acsdkExternalMediaPlayerInterfaces::AdapterEvent::REQUEST_TOKEN, alexaClientSDK::acsdkExternalMediaPlayerInterfaces::AdapterEvent::LOGIN, alexaClientSDK::acsdkExternalMediaPlayerInterfaces::AdapterEvent::LOGOUT,
  alexaClientSDK::acsdkExternalMediaPlayerInterfaces::AdapterEvent::PLAYER_EVENT, alexaClientSDK::acsdkExternalMediaPlayerInterfaces::AdapterEvent::PLAYER_ERROR_EVENT
}
 Enumeration class for events sent by adapters to AVS. More...
 

Functions

std::string alexaClientSDK::acsdkExternalMediaPlayerInterfaces::adapterEventToString (AdapterEvent event)
 
std::ostream & alexaClientSDK::acsdkExternalMediaPlayerInterfaces::operator<< (std::ostream &stream, const AdapterEvent &event)
 
rapidjson::Value alexaClientSDK::acsdkExternalMediaPlayerInterfaces::buildSupportedOperations (const std::set< acsdkExternalMediaPlayerInterfaces::SupportedPlaybackOperation > &supportedOperations, rapidjson::Document::AllocatorType &allocator)
 
bool alexaClientSDK::acsdkExternalMediaPlayerInterfaces::buildMediaState (rapidjson::Value *document, const AdapterPlaybackState &playbackState, rapidjson::Document::AllocatorType &allocator)
 
rapidjson::Value alexaClientSDK::acsdkExternalMediaPlayerInterfaces::buildPlaybackState (const acsdkExternalMediaPlayerInterfaces::AdapterPlaybackState &playbackState, rapidjson::Document::AllocatorType &allocator)
 
rapidjson::Value alexaClientSDK::acsdkExternalMediaPlayerInterfaces::buildSessionState (const acsdkExternalMediaPlayerInterfaces::AdapterSessionState &sessionState, rapidjson::Document::AllocatorType &allocator)
 
bool alexaClientSDK::acsdkExternalMediaPlayerInterfaces::buildDefaultPlayerState (rapidjson::Value *document, rapidjson::Document::AllocatorType &allocator)
 
std::string alexaClientSDK::acsdkExternalMediaPlayerInterfaces::getEmpContextString (acsdkExternalMediaPlayerInterfaces::AdapterState adapterState)
 

Variables

const std::vector< int > alexaClientSDK::acsdkExternalMediaPlayerInterfaces::SESSION_RETRY_TABLE
 
avsCommon::utils::RetryTimer alexaClientSDK::acsdkExternalMediaPlayerInterfaces::SESSION_RETRY_TIMER
 The retry timer for session management (token fetch/changeReport send). More...
 
const avsCommon::avs::NamespaceAndName alexaClientSDK::acsdkExternalMediaPlayerInterfaces::CHANGE_REPORT
 
const avsCommon::avs::NamespaceAndName alexaClientSDK::acsdkExternalMediaPlayerInterfaces::REQUEST_TOKEN
 
const avsCommon::avs::NamespaceAndName alexaClientSDK::acsdkExternalMediaPlayerInterfaces::LOGIN
 
const avsCommon::avs::NamespaceAndName alexaClientSDK::acsdkExternalMediaPlayerInterfaces::LOGOUT
 
const avsCommon::avs::NamespaceAndName alexaClientSDK::acsdkExternalMediaPlayerInterfaces::PLAYER_EVENT
 
const avsCommon::avs::NamespaceAndName alexaClientSDK::acsdkExternalMediaPlayerInterfaces::PLAYER_ERROR_EVENT
 
std::map< AdapterEvent, std::pair< std::string, std::string > > alexaClientSDK::acsdkExternalMediaPlayerInterfaces::eventNameSpaceNameMap
 

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