Alexa Auto SDK  4.3
Public Member Functions | Public Attributes | List of all members
aace::alexa::ExternalMediaAdapter::SessionState Class Reference

Public Member Functions

 SessionState ()
 

Public Attributes

std::string endpointId
 The unique device endpoint. default "".
 
bool loggedIn
 Flag that identifies if a user is currently logged in or not. default false.
 
std::string userName
 The userName of the user currently logged in via a Login directive from the AVS. default "".
 
bool isGuest
 Flag that identifies if the user currently logged in is a guest or not. default false.
 
bool launched
 Flag that identifies if an application has been launched or not. default true.
 
bool active
 
std::string accessToken
 
std::chrono::milliseconds tokenRefreshInterval
 The validity period of the token in milliseconds. default 0.
 
std::string playerCookie
 A player may declare arbitrary information for itself. default "".
 
std::string spiVersion
 The only spiVersion that currently exists is "1.0". default "1.0".
 

Detailed Description

struct that represents the session state of a player.

Constructor & Destructor Documentation

◆ SessionState()

aace::alexa::ExternalMediaAdapter::SessionState::SessionState ( )

Default Constructor.

Member Data Documentation

◆ active

bool aace::alexa::ExternalMediaAdapter::SessionState::active

Flag that identifies if the application is currently active or not. This could mean different things for different applications. default false

◆ accessToken

std::string aace::alexa::ExternalMediaAdapter::SessionState::accessToken

The accessToken used to login a user. The access token may also be used as a bearer token if the adapter makes an authenticated Web API to the music provider. default ""


Alexa Auto SDK 4.3 - Copyright 2017-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0