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

Public Attributes

std::string endpointId
 The unique device endpoint. default "".
 
bool loggedIn
 Flag that identifies if a user is currently logged in. default false.
 
std::string userName
 The username of the user currently logged in via a Login directive from Alexa. default "".
 
bool isGuest
 Flag that identifies if the user currently logged in is a guest. default false.
 
bool launched
 Flag that identifies if an source is currently enabled. default true.
 
bool active
 
std::string accessToken
 
std::chrono::milliseconds tokenRefreshInterval
 The validity period of the token in milliseconds. default 0.
 
std::vector< ContentSelectorsupportedContentSelectors
 Array of content selector types supported by the player. 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.

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. default false

◆ 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. 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