AlexaClientSDK
3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
|
Classes | |
class | ExternalMediaPlayerTest |
class | MockExternalMediaAdapterHandler |
Mock class for ExternalMediaPlayerAdapterHandler. More... | |
class | MockRenderPlayerInfoCardsProviderRegistrar |
Typedefs | |
using | PlayParams = ExternalMediaAdapterHandlerInterface::PlayParams |
Functions | |
TEST_F (ExternalMediaPlayerTest, testHandleAuthorization) | |
TEST_F (ExternalMediaPlayerTest, testHandleLogin) | |
TEST_F (ExternalMediaPlayerTest, testHandleLogout) | |
TEST_F (ExternalMediaPlayerTest, testHandlePlay) | |
TEST_F (ExternalMediaPlayerTest, testHandlePlayControl) | |
TEST_F (ExternalMediaPlayerTest, testHandleSeek) | |
TEST_F (ExternalMediaPlayerTest, testHandleAdjustSeek) | |
TEST_F (ExternalMediaPlayerTest, testHandleGetAdapterStates) | |
TEST_F (ExternalMediaPlayerTest, testHandleGetAdapterState) | |
TEST_F (ExternalMediaPlayerTest, testHandleSpeakerChange) | |
static std::chrono::milliseconds | MY_WAIT_TIMEOUT (5000) |
Plenty of time for a test to complete. More... | |
static const std::string | MESSAGE_ID_TEST ("MessageId_Test") |
Message Id for testing. More... | |
static const std::string | MESSAGE_ID_TEST2 ("MessageId_Test2") |
static const std::string | DIALOG_REQUEST_ID_TEST ("DialogId_Test") |
Dialog Request Id for testing. More... | |
static const std::string | TAG ("ExternalMediaPlayerTest") |
String to identify log entries originating from this file. More... | |
static const std::string | MSP1_LOCAL_PLAYER_ID ("MSP1_LOCAL_PLAYER_ID") |
Music service provider id 1. More... | |
static const std::string | MSP1_PLAYER_ID ("MSP1_PLAYERID") |
Cloud assigned playerId for this MSP. More... | |
static const std::string | MSP1_SKILLTOKEN ("MSP1_SKILLTOKEN") |
Associated skillToken for this MSP. More... | |
static const std::string | MSP2_LOCAL_PLAYER_ID ("MSP2_LOCAL_PLAYER_ID") |
Music service provider id 2. More... | |
static const std::string | MSP2_PLAYER_ID ("MSP2_PLAYERID") |
Cloud assigned playerId for this MSP. More... | |
static const std::string | MSP2_SKILLTOKEN ("MSP2_SKILLTOKEN") |
Associated skillToken for this MSP. More... | |
MATCHER_P2 (EventNamed, expectedNameSpace, expectedName, "") | |
static AdapterState | createAdapterState () |
static std::string | createAuthorizeDiscoveredPlayersPayload (std::unordered_set< std::string > players=std::unordered_set< std::string >()) |
static std::string | createPlayerJson (const std::string &localPlayerId, bool authorized, const std::string &playerId, const std::string &skillToken) |
static std::string | getIdleSessionStateJson (std::string agent) |
static std::string | createPlayPayloadWithParseError (const std::string &playContext, int index, int64_t offsetInMilliseconds, const std::string &playerId, const std::string &skillToken, const std::string &playbackSessionId, const std::string &navigation, bool preload) |
static std::string | createPayloadWithPlayerId (const std::string &playerId) |
static std::string | createPlayPayload (const std::string &playContext, int index, int64_t offsetInMilliseconds, const std::string &playerId, const std::string &skillToken, const std::string &playbackSessionId, const std::string &navigation, bool preload) |
static std::string | createPlayPayloadWithPlayRequestor (const std::string &playContext, int index, int64_t offsetInMilliseconds, const std::string &playerId, const std::string &skillToken, const std::string &playbackSessionId, const std::string &navigation, bool preload, const PlayRequestor &playRequestor) |
static std::string | createPlayPayloadNoContext (int index, int64_t offsetInMilliseconds, const std::string &playerId, const std::string &skillToken, const std::string &playbackSessionId, const std::string &navigation, bool preload) |
static std::string | createPlayPayloadNoPlayerId (const std::string &playContext, int index, int64_t offsetInMilliseconds, const std::string &skillToken, const std::string &playbackSessionId, const std::string &navigation, bool preload) |
static std::string | createPlayPayloadNoIndex (const std::string &playContext, int64_t offsetInMilliseconds, const std::string &playerId, const std::string &skillToken, const std::string &playbackSessionId, const std::string &navigation, bool preload) |
static std::string | createPlayPayloadNoOffset (const std::string &playContext, int index, const std::string &playerId, const std::string &skillToken, const std::string &playbackSessionId, const std::string &navigation, bool preload) |
static std::string | createLoginPayload (const std::string &accessToken, const std::string &userName, int64_t refreshInterval, bool forceLogin, const std::string &playerId) |
static std::string | createSeekPayload (int64_t timeOffset, const std::string &playerId, bool adjustSeek) |
TEST_F (ExternalMediaPlayerTest, test_createWithNullPointers) | |
TEST_F (ExternalMediaPlayerTest, test_getConfiguration) | |
TEST_F (ExternalMediaPlayerTest, test_callingProvideSessionState) | |
TEST_F (ExternalMediaPlayerTest, test_callingProvidePlaybackState) | |
TEST_F (ExternalMediaPlayerTest, test_playParserError) | |
TEST_F (ExternalMediaPlayerTest, test_playNoAdapter) | |
TEST_F (ExternalMediaPlayerTest, test_playNoPlayContext) | |
TEST_F (ExternalMediaPlayerTest, test_playNoPlayerId) | |
TEST_F (ExternalMediaPlayerTest, test_playNoOffset) | |
TEST_F (ExternalMediaPlayerTest, testPlaywithPlayRequestor) | |
TEST_F (ExternalMediaPlayerTest, test_playNoIndex) | |
TEST_F (ExternalMediaPlayerTest, test_logout) | |
TEST_F (ExternalMediaPlayerTest, test_login) | |
TEST_F (ExternalMediaPlayerTest, test_loginStateChangeObserverIsNotified) | |
TEST_F (ExternalMediaPlayerTest, test_playbackStateChangeObserverIsNotified) | |
TEST_F (ExternalMediaPlayerTest, test_loginStateChangeObserverRemoval) | |
TEST_F (ExternalMediaPlayerTest, test_playbackStateChangeObserverRemoval) | |
TEST_F (ExternalMediaPlayerTest, test_play) | |
TEST_F (ExternalMediaPlayerTest, test_pause) | |
TEST_F (ExternalMediaPlayerTest, testStop) | |
TEST_F (ExternalMediaPlayerTest, test_stop) | |
TEST_F (ExternalMediaPlayerTest, test_next) | |
TEST_F (ExternalMediaPlayerTest, test_previous) | |
TEST_F (ExternalMediaPlayerTest, test_startOver) | |
TEST_F (ExternalMediaPlayerTest, test_rewind) | |
TEST_F (ExternalMediaPlayerTest, test_fastForward) | |
TEST_F (ExternalMediaPlayerTest, test_enableRepeatOne) | |
TEST_F (ExternalMediaPlayerTest, test_enableRepeat) | |
TEST_F (ExternalMediaPlayerTest, test_disableRepeat) | |
TEST_F (ExternalMediaPlayerTest, test_enableShuffle) | |
TEST_F (ExternalMediaPlayerTest, test_disableShuffle) | |
TEST_F (ExternalMediaPlayerTest, test_favorite) | |
TEST_F (ExternalMediaPlayerTest, test_unfavorite) | |
TEST_F (ExternalMediaPlayerTest, test_incorrectDirective) | |
TEST_F (ExternalMediaPlayerTest, test_seekFailure) | |
TEST_F (ExternalMediaPlayerTest, test_seekSuccess) | |
TEST_F (ExternalMediaPlayerTest, test_adjustSeekFailure) | |
TEST_F (ExternalMediaPlayerTest, test_adjustSeekFailure2) | |
TEST_F (ExternalMediaPlayerTest, test_adjustSeekSuccess) | |
static void | verifyAuthorizationCompletePayload (std::shared_ptr< MessageRequest > request, std::unordered_map< std::string, std::string > expectedAuthorized, std::unordered_set< std::string > expectedDeauthorized=std::unordered_set< std::string >()) |
TEST_F (ExternalMediaPlayerTest, testReportDiscoveredPlayers) | |
TEST_F (ExternalMediaPlayerTest, testTimer_AuthorizeDiscoveredPlayersSuccess) | |
TEST_F (ExternalMediaPlayerTest, testMultipleAuthorizeDiscoveredPlayersSuccess) | |
TEST_F (ExternalMediaPlayerTest, testSetPlayerInFocusSucceedsForAuthorized) | |
TEST_F (ExternalMediaPlayerTest, testSetPlayerInFocusFailsForAuthorized) | |
TEST_F (ExternalMediaPlayerTest, testSetPlayerInFocusNotfiesTemplateRuntimeObserver) | |
TEST_F (ExternalMediaPlayerTest, testSamePlayerIdWhenHandleAuthorizedSuccess) | |
TEST_F (ExternalMediaPlayerTest, testAddAdapterHandlerDiscovery) | |
TEST_F (ExternalMediaPlayerTest, testAddAdapterHandlerDiscoveryAggregatedUntilStartup) | |
using alexaClientSDK::acsdkExternalMediaPlayer::test::PlayParams = typedef ExternalMediaAdapterHandlerInterface::PlayParams |
|
static |
Method to create an adapter state struct response to getState();
|
static |
Method to create AuthorizeDiscoveredPlayers payload.
players | A set of players JSON objects. |
|
static |
Method to create a Login payload with accessToken, userName, refresh interval, forceLogin, playerId.
accessToken | The access context of the user identifier. |
userName | The userName of the user logging in. |
refreshInterval | The duration in milliseconds for which the accessToken is valid. |
forceLogin | bool which signifies if the adapter has to a force a login or merely cache the access token. |
playerId | The business name of the player. |
|
static |
Method to create payload with only playerId.
playerId | The business name of the player. |
|
static |
Create the players json object.
localPlayerId | The localPlayerId. |
authorized | Whether the player is authorized. |
playerId | The cloud assigned playerId. |
skillToken | The skillToken. |
|
static |
Method to create a Play payload with playContext, index, offsetInMilliseconds, playerId.
playContext | Play context {Track/playlist/album/artist/station/podcast} identifier. |
index | The index of the media item in the container, if the container is indexable. |
offsetInMilliseconds | The offset position within media item, in milliseconds. |
playerId | The business name of the player. |
|
static |
Method to create a Play payload with only index, offsetInMilliseconds, playerId.
index | The index of the media item in the container, if the container is indexable. |
offsetInMilliseconds | The offset position within media item, in milliseconds. |
playerId | The business name of the player. |
|
static |
Method to create a Play payload with only playContext, offsetInMilliseconds and playerId.
playContext | Play context {Track/playlist/album/artist/station/podcast} identifier. |
offsetInMilliseconds | The offset position within media item, in milliseconds. |
playerId | The business name of the player. |
|
static |
Method to create a Play payload with only playContext, index, playerId.
playContext | Play context {Track/playlist/album/artist/station/podcast} identifier. |
index | The index of the media item in the container, if the container is indexable. |
playerId | The business name of the player. |
|
static |
Method to create a Play payload with only playContext, index, offsetInMilliseconds.
playContext | Play context {Track/playlist/album/artist/station/podcast} identifier. |
index | The index of the media item in the container, if the container is indexable. |
offsetInMilliseconds | The offset position within media item, in milliseconds. |
|
static |
Method to create payload with parse error.
playContext | Play context {Track/playlist/album/artist/station/podcast} identifier. |
index | The index of the media item in the container, if the container is indexable. |
offsetInMilliseconds | The offset position within media item, in milliseconds. |
playerId | The business name of the player. |
|
static |
Method to create a Play payload with playContext, index, offsetInMilliseconds, playerId, and playRequestor.
playContext | Play context {Track/playlist/album/artist/station/podcast} identifier. |
index | The index of the media item in the container, if the container is indexable. |
offsetInMilliseconds | The offset position within media item, in milliseconds. |
playerId | The business name of the player. |
skillToken | The token identifying the domain or skill associated with this player. |
playbackSessionId | A UUID associated with the most recent Play directive. |
navigation | Communicates desired visual display behavior for the app associated with playback. |
preload | Indicates if Play directive is intended to preload the identified content only but not begin playback. |
playRequestor | The playRequestor object of the play directive. |
|
static |
Method to create a Seek payload.
timeOffset | The offset to seek to. |
playerId | The business name of the player. |
adjustSeek | true offset adjusts seek relative to current position false offset is interpreted as an absolute offset. |
|
static |
Dialog Request Id for testing.
|
static |
Get idle session state json object
alexaClientSDK::acsdkExternalMediaPlayer::test::MATCHER_P2 | ( | EventNamed | , |
expectedNameSpace | , | ||
expectedName | , | ||
"" | |||
) |
Custom matcher to check an event of a certain name is sent. Returns true if the event with that name is sent.
|
static |
Message Id for testing.
|
static |
|
static |
Music service provider id 1.
|
static |
Cloud assigned playerId for this MSP.
|
static |
Associated skillToken for this MSP.
|
static |
Music service provider id 2.
|
static |
Cloud assigned playerId for this MSP.
|
static |
Associated skillToken for this MSP.
|
static |
Plenty of time for a test to complete.
|
static |
String to identify log entries originating from this file.
alexaClientSDK::acsdkExternalMediaPlayer::test::TEST_F | ( | ExternalMediaPlayerTest | , |
testHandleAuthorization | |||
) |
Test authorization passthrough
alexaClientSDK::acsdkExternalMediaPlayer::test::TEST_F | ( | ExternalMediaPlayerTest | , |
testHandleLogin | |||
) |
Test login passthrough
alexaClientSDK::acsdkExternalMediaPlayer::test::TEST_F | ( | ExternalMediaPlayerTest | , |
testHandleLogout | |||
) |
Test logout passthrough
alexaClientSDK::acsdkExternalMediaPlayer::test::TEST_F | ( | ExternalMediaPlayerTest | , |
testHandlePlay | |||
) |
Test play passthrough
alexaClientSDK::acsdkExternalMediaPlayer::test::TEST_F | ( | ExternalMediaPlayerTest | , |
testHandlePlayControl | |||
) |
Test play control passthrough
alexaClientSDK::acsdkExternalMediaPlayer::test::TEST_F | ( | ExternalMediaPlayerTest | , |
testHandleSeek | |||
) |
Test seek passthrough
alexaClientSDK::acsdkExternalMediaPlayer::test::TEST_F | ( | ExternalMediaPlayerTest | , |
testHandleAdjustSeek | |||
) |
Test adjust seek passthrough
alexaClientSDK::acsdkExternalMediaPlayer::test::TEST_F | ( | ExternalMediaPlayerTest | , |
testHandleGetAdapterStates | |||
) |
Test get adapter states passthrough
alexaClientSDK::acsdkExternalMediaPlayer::test::TEST_F | ( | ExternalMediaPlayerTest | , |
testHandleGetAdapterState | |||
) |
Test get adapter states passthrough
alexaClientSDK::acsdkExternalMediaPlayer::test::TEST_F | ( | ExternalMediaPlayerTest | , |
testHandleSpeakerChange | |||
) |
Test speaker change passthrough
alexaClientSDK::acsdkExternalMediaPlayer::test::TEST_F | ( | ExternalMediaPlayerTest | , |
test_createWithNullPointers | |||
) |
Test create() with nullptrs
alexaClientSDK::acsdkExternalMediaPlayer::test::TEST_F | ( | ExternalMediaPlayerTest | , |
test_getConfiguration | |||
) |
Test getConfiguration on an ExternalMediaPlayer. The operation succeeds.
alexaClientSDK::acsdkExternalMediaPlayer::test::TEST_F | ( | ExternalMediaPlayerTest | , |
test_callingProvideSessionState | |||
) |
Test session state information on an ExternalMediaPlayer .
alexaClientSDK::acsdkExternalMediaPlayer::test::TEST_F | ( | ExternalMediaPlayerTest | , |
test_callingProvidePlaybackState | |||
) |
Test playback state information on an ExternalMediaPlayer.
alexaClientSDK::acsdkExternalMediaPlayer::test::TEST_F | ( | ExternalMediaPlayerTest | , |
test_playParserError | |||
) |
Test payload with parse error in ExternalMediaPlayer. This should fail.
alexaClientSDK::acsdkExternalMediaPlayer::test::TEST_F | ( | ExternalMediaPlayerTest | , |
test_playNoAdapter | |||
) |
Test PLAY payload without an adapter in ExternalMediaPlayer. This should fail.
alexaClientSDK::acsdkExternalMediaPlayer::test::TEST_F | ( | ExternalMediaPlayerTest | , |
test_playNoPlayContext | |||
) |
Test PLAY payload without play context in ExternalMediaPlayer. This should fail.
alexaClientSDK::acsdkExternalMediaPlayer::test::TEST_F | ( | ExternalMediaPlayerTest | , |
test_playNoPlayerId | |||
) |
Test PLAY payload without playerId in ExternalMediaPlayer. This should fail.
alexaClientSDK::acsdkExternalMediaPlayer::test::TEST_F | ( | ExternalMediaPlayerTest | , |
test_playNoOffset | |||
) |
Test PLAY payload without offsetin ExternalMediaPlayer. This should succeed.
alexaClientSDK::acsdkExternalMediaPlayer::test::TEST_F | ( | ExternalMediaPlayerTest | , |
testPlaywithPlayRequestor | |||
) |
Test PLAY payload with playRequestor in ExternalMediaPlayer. This should succeed.
alexaClientSDK::acsdkExternalMediaPlayer::test::TEST_F | ( | ExternalMediaPlayerTest | , |
test_playNoIndex | |||
) |
Test PLAY payload without index in ExternalMediaPlayer. This should succeed.
alexaClientSDK::acsdkExternalMediaPlayer::test::TEST_F | ( | ExternalMediaPlayerTest | , |
test_logout | |||
) |
Test successful logout.
alexaClientSDK::acsdkExternalMediaPlayer::test::TEST_F | ( | ExternalMediaPlayerTest | , |
test_login | |||
) |
Test successful login.
alexaClientSDK::acsdkExternalMediaPlayer::test::TEST_F | ( | ExternalMediaPlayerTest | , |
test_loginStateChangeObserverIsNotified | |||
) |
Test observers of session state are correctly notified
alexaClientSDK::acsdkExternalMediaPlayer::test::TEST_F | ( | ExternalMediaPlayerTest | , |
test_playbackStateChangeObserverIsNotified | |||
) |
Test observers of playback state are correctly notified
alexaClientSDK::acsdkExternalMediaPlayer::test::TEST_F | ( | ExternalMediaPlayerTest | , |
test_loginStateChangeObserverRemoval | |||
) |
Test that after removal login observers are not called anymore
alexaClientSDK::acsdkExternalMediaPlayer::test::TEST_F | ( | ExternalMediaPlayerTest | , |
test_playbackStateChangeObserverRemoval | |||
) |
Test that after removal playback state observers are not called anymore
alexaClientSDK::acsdkExternalMediaPlayer::test::TEST_F | ( | ExternalMediaPlayerTest | , |
test_play | |||
) |
Test successful resume.
alexaClientSDK::acsdkExternalMediaPlayer::test::TEST_F | ( | ExternalMediaPlayerTest | , |
test_pause | |||
) |
Test successful pause.
alexaClientSDK::acsdkExternalMediaPlayer::test::TEST_F | ( | ExternalMediaPlayerTest | , |
testStop | |||
) |
Test successful stop.
alexaClientSDK::acsdkExternalMediaPlayer::test::TEST_F | ( | ExternalMediaPlayerTest | , |
test_stop | |||
) |
Test successful stop.
alexaClientSDK::acsdkExternalMediaPlayer::test::TEST_F | ( | ExternalMediaPlayerTest | , |
test_next | |||
) |
Test successful next.
alexaClientSDK::acsdkExternalMediaPlayer::test::TEST_F | ( | ExternalMediaPlayerTest | , |
test_previous | |||
) |
Test successful previous.
alexaClientSDK::acsdkExternalMediaPlayer::test::TEST_F | ( | ExternalMediaPlayerTest | , |
test_startOver | |||
) |
Test successful StarOver.
alexaClientSDK::acsdkExternalMediaPlayer::test::TEST_F | ( | ExternalMediaPlayerTest | , |
test_rewind | |||
) |
Test successful rewind.
alexaClientSDK::acsdkExternalMediaPlayer::test::TEST_F | ( | ExternalMediaPlayerTest | , |
test_fastForward | |||
) |
Test successful fast-forward.
alexaClientSDK::acsdkExternalMediaPlayer::test::TEST_F | ( | ExternalMediaPlayerTest | , |
test_enableRepeatOne | |||
) |
Test successful EnableRepeatOne.
alexaClientSDK::acsdkExternalMediaPlayer::test::TEST_F | ( | ExternalMediaPlayerTest | , |
test_enableRepeat | |||
) |
Test successful EnableRepeat.
alexaClientSDK::acsdkExternalMediaPlayer::test::TEST_F | ( | ExternalMediaPlayerTest | , |
test_disableRepeat | |||
) |
Test successful DisableRepeat.
alexaClientSDK::acsdkExternalMediaPlayer::test::TEST_F | ( | ExternalMediaPlayerTest | , |
test_enableShuffle | |||
) |
Test successful EnableShuffle.
alexaClientSDK::acsdkExternalMediaPlayer::test::TEST_F | ( | ExternalMediaPlayerTest | , |
test_disableShuffle | |||
) |
Test successful DisableRepeat.
alexaClientSDK::acsdkExternalMediaPlayer::test::TEST_F | ( | ExternalMediaPlayerTest | , |
test_favorite | |||
) |
Test successful Favorite.
alexaClientSDK::acsdkExternalMediaPlayer::test::TEST_F | ( | ExternalMediaPlayerTest | , |
test_unfavorite | |||
) |
Test successful UnFavorite.
alexaClientSDK::acsdkExternalMediaPlayer::test::TEST_F | ( | ExternalMediaPlayerTest | , |
test_incorrectDirective | |||
) |
Test incorrect directive.
alexaClientSDK::acsdkExternalMediaPlayer::test::TEST_F | ( | ExternalMediaPlayerTest | , |
test_seekFailure | |||
) |
Test Seek failure passing incorrect field in payload.
alexaClientSDK::acsdkExternalMediaPlayer::test::TEST_F | ( | ExternalMediaPlayerTest | , |
test_seekSuccess | |||
) |
Test successful Seek.
alexaClientSDK::acsdkExternalMediaPlayer::test::TEST_F | ( | ExternalMediaPlayerTest | , |
test_adjustSeekFailure | |||
) |
Test AdjustSeek failure incorrect field in payload.
alexaClientSDK::acsdkExternalMediaPlayer::test::TEST_F | ( | ExternalMediaPlayerTest | , |
test_adjustSeekFailure2 | |||
) |
Test AdjustSeek failure passing in an incorrect offset.
alexaClientSDK::acsdkExternalMediaPlayer::test::TEST_F | ( | ExternalMediaPlayerTest | , |
test_adjustSeekSuccess | |||
) |
Test AdjustSeek successful passing in correct payload and offset.
alexaClientSDK::acsdkExternalMediaPlayer::test::TEST_F | ( | ExternalMediaPlayerTest | , |
testReportDiscoveredPlayers | |||
) |
Test that ReportDiscoveredPlayers is sent.
alexaClientSDK::acsdkExternalMediaPlayer::test::TEST_F | ( | ExternalMediaPlayerTest | , |
testTimer_AuthorizeDiscoveredPlayersSuccess | |||
) |
Test successful AuthorizeDiscoveredPlayers directive processing.
alexaClientSDK::acsdkExternalMediaPlayer::test::TEST_F | ( | ExternalMediaPlayerTest | , |
testMultipleAuthorizeDiscoveredPlayersSuccess | |||
) |
Test successful AuthorizeDiscoveredPlayers directive processing of multiple directives.
alexaClientSDK::acsdkExternalMediaPlayer::test::TEST_F | ( | ExternalMediaPlayerTest | , |
testSetPlayerInFocusSucceedsForAuthorized | |||
) |
Test setPlayerInFocus succeeds for authorized players.
alexaClientSDK::acsdkExternalMediaPlayer::test::TEST_F | ( | ExternalMediaPlayerTest | , |
testSetPlayerInFocusFailsForAuthorized | |||
) |
Test setPlayerInFocus fails for unauthorized players.
alexaClientSDK::acsdkExternalMediaPlayer::test::TEST_F | ( | ExternalMediaPlayerTest | , |
testSetPlayerInFocusNotfiesTemplateRuntimeObserver | |||
) |
Test setPlayerInFocus notifies any RenderPlayerInfoCardsObservers.
alexaClientSDK::acsdkExternalMediaPlayer::test::TEST_F | ( | ExternalMediaPlayerTest | , |
testSamePlayerIdWhenHandleAuthorizedSuccess | |||
) |
Test playerId is the same in sessionState and playbackState on handleAuthorized success.
alexaClientSDK::acsdkExternalMediaPlayer::test::TEST_F | ( | ExternalMediaPlayerTest | , |
testAddAdapterHandlerDiscovery | |||
) |
Test adding an adapter handler and discovering it
alexaClientSDK::acsdkExternalMediaPlayer::test::TEST_F | ( | ExternalMediaPlayerTest | , |
testAddAdapterHandlerDiscoveryAggregatedUntilStartup | |||
) |
Test sending ReportDiscoveredPlayers aggregates adapters until startup.
|
static |
Checks that the AuthorizationComplete event contains the expected authorized and deauthorized fields.
request | The AuthorizationComplete event sent. |
expectedAuthorized | The expected list of playerId to skillToken pairs to verify against. |
expectedDeauthorized | The expected list of deauthorized localPlayerId the verify against. |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
Provide State Token for testing.
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
AlexaClientSDK 3.0.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0