Alexa Auto SDK  2.0.0
Public Attributes | List of all members
aace::alexa::LocalMediaSource::SessionState Class Reference

Public Attributes

std::string endpointId
 The unique device endpoint.
 
bool loggedIn
 Flag that identifies if a user is currently logged in.
 
std::string userName
 The username of the user currently logged in via a Login directive from Alexa.
 
bool isGuest
 Flag that identifies if the user currently logged in is a guest.
 
bool launched
 Flag that identifies if an application has been launched.
 
bool active
 
std::string accessToken
 
std::chrono::milliseconds tokenRefreshInterval
 The validity period of the token in milliseconds.
 
std::vector< ContentSelectorsupportedContentSelectors
 Array of content selector types supported by the player.
 
std::string spiVersion
 The only spiVersion that currently exists is "1.0".
 

Detailed Description

struct that represents the session state of a player.

Member Data Documentation

◆ active

bool aace::alexa::LocalMediaSource::SessionState::active

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

◆ accessToken

std::string aace::alexa::LocalMediaSource::SessionState::accessToken

The access token used to log in 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.


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