AlexaClientSDK  1.26.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
ExternalMediaAdapterConstants.h
Go to the documentation of this file.
1 /*
2  * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License").
5  * You may not use this file except in compliance with the License.
6  * A copy of the License is located at
7  *
8  * http://aws.amazon.com/apache2.0/
9  *
10  * or in the "license" file accompanying this file. This file is distributed
11  * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
12  * express or implied. See the License for the specific language governing
13  * permissions and limitations under the License.
14  */
15 
16 #ifndef ALEXA_CLIENT_SDK_ACSDKEXTERNALMEDIAPLAYERINTERFACES_INCLUDE_ACSDKEXTERNALMEDIAPLAYERINTERFACES_EXTERNALMEDIAADAPTERCONSTANTS_H_
17 #define ALEXA_CLIENT_SDK_ACSDKEXTERNALMEDIAPLAYERINTERFACES_INCLUDE_ACSDKEXTERNALMEDIAPLAYERINTERFACES_EXTERNALMEDIAADAPTERCONSTANTS_H_
18 
20 
21 namespace alexaClientSDK {
22 namespace acsdkExternalMediaPlayerInterfaces {
23 
25 static const char PLAYERS[] = "players";
27 static const char PLAYER_IN_FOCUS[] = "playerInFocus";
29 static const char AGENT_KEY[] = "agent";
31 static const std::string EMP_CONFIG_KEY("externalMediaPlayer");
34 static const std::string EMP_AGENT_KEY("agentString");
35 
36 // The key values used in the context payload from External Media Player to AVS.
37 const char PLAYER_ID[] = "playerId";
38 const char ENDPOINT_ID[] = "endpointId";
39 const char LOGGED_IN[] = "loggedIn";
40 const char USERNAME[] = "username";
41 const char IS_GUEST[] = "isGuest";
42 const char LAUNCHED[] = "launched";
43 const char ACTIVE[] = "active";
44 const char SPI_VERSION[] = "spiVersion";
45 const char PLAYER_COOKIE[] = "playerCookie";
46 const char SKILL_TOKEN[] = "skillToken";
47 const char PLAYBACK_SESSION_ID[] = "playbackSessionId";
48 #ifdef MEDIA_PORTABILITY_ENABLED
49 const char MEDIA_SESSION_ID[] = "mediaSessionId";
50 static const std::string CORRELATION_TOKEN = "correlationToken";
51 #endif
52 
53 // The key values used in the context payload from External Media Player to AVS.
54 const char STATE[] = "state";
55 const char OPERATIONS[] = "supportedOperations";
56 const char MEDIA[] = "media";
57 const char POSITIONINMS[] = "positionMilliseconds";
58 const char SHUFFLE[] = "shuffle";
59 const char REPEAT[] = "repeat";
60 const char FAVORITE[] = "favorite";
61 const char PLAYBACK_SOURCE[] = "playbackSource";
62 const char TYPE[] = "type";
63 const char PLAYBACK_SOURCE_ID[] = "playbackSourceId";
64 const char PLAYBACK_ID[] = "playbackId";
65 const char TRACKNAME[] = "trackName";
66 const char TRACK_ID[] = "trackId";
67 const char TRACK_NUMBER[] = "trackNumber";
68 const char ARTIST[] = "artist";
69 const char ARTIST_ID[] = "artistId";
70 const char ALBUM[] = "album";
71 const char ALBUM_ID[] = "albumId";
72 const char COVER_URLS[] = "coverUrls";
73 const char TINY_URL[] = "tiny";
74 const char SMALL_URL[] = "small";
75 const char MEDIUM_URL[] = "medium";
76 const char LARGE_URL[] = "large";
77 const char COVER_ID[] = "coverId";
78 const char MEDIA_PROVIDER[] = "mediaProvider";
79 const char MEDIA_TYPE[] = "mediaType";
80 const char DURATIONINMS[] = "durationInMilliseconds";
81 const char VALUE[] = "value";
82 
83 } // namespace acsdkExternalMediaPlayerInterfaces
84 } // namespace alexaClientSDK
85 
86 #endif // ALEXA_CLIENT_SDK_ACSDKEXTERNALMEDIAPLAYERINTERFACES_INCLUDE_ACSDKEXTERNALMEDIAPLAYERINTERFACES_EXTERNALMEDIAADAPTERCONSTANTS_H_
const char MEDIA[]
Definition: ExternalMediaAdapterConstants.h:56
static const char PLAYERS[]
The const char for the players key field in the context.
Definition: ExternalMediaAdapterConstants.h:25
const char IS_GUEST[]
Definition: ExternalMediaAdapterConstants.h:41
static const std::string EMP_CONFIG_KEY("externalMediaPlayer")
The root key for configuration values for the ExternalMediaPlayer.
const char PLAYER_ID[]
Definition: ExternalMediaAdapterConstants.h:37
const char TYPE[]
Definition: ExternalMediaAdapterConstants.h:62
const char PLAYBACK_SESSION_ID[]
Definition: ExternalMediaAdapterConstants.h:47
const char ACTIVE[]
Definition: ExternalMediaAdapterConstants.h:43
const char ALBUM[]
Definition: ExternalMediaAdapterConstants.h:70
const char LOGGED_IN[]
Definition: ExternalMediaAdapterConstants.h:39
const char LAUNCHED[]
Definition: ExternalMediaAdapterConstants.h:42
const char TINY_URL[]
Definition: ExternalMediaAdapterConstants.h:73
const char VALUE[]
Definition: ExternalMediaAdapterConstants.h:81
static const char PLAYER_IN_FOCUS[]
The const char for the playerInFocus key field in the context.
Definition: ExternalMediaAdapterConstants.h:27
const char TRACK_NUMBER[]
Definition: ExternalMediaAdapterConstants.h:67
const char ARTIST[]
Definition: ExternalMediaAdapterConstants.h:68
const char USERNAME[]
Definition: ExternalMediaAdapterConstants.h:40
const char PLAYBACK_SOURCE[]
Definition: ExternalMediaAdapterConstants.h:61
const char TRACKNAME[]
Definition: ExternalMediaAdapterConstants.h:65
const char MEDIA_TYPE[]
Definition: ExternalMediaAdapterConstants.h:79
static const std::string CORRELATION_TOKEN("correlationToken")
Correlation token Key.
const char LARGE_URL[]
Definition: ExternalMediaAdapterConstants.h:76
const char REPEAT[]
Definition: ExternalMediaAdapterConstants.h:59
const char FAVORITE[]
Definition: ExternalMediaAdapterConstants.h:60
const char ENDPOINT_ID[]
Definition: ExternalMediaAdapterConstants.h:38
const char COVER_URLS[]
Definition: ExternalMediaAdapterConstants.h:72
static const char AGENT_KEY[]
The const char for agent key.
Definition: ExternalMediaAdapterConstants.h:29
const char PLAYER_COOKIE[]
Definition: ExternalMediaAdapterConstants.h:45
const char SKILL_TOKEN[]
Definition: ExternalMediaAdapterConstants.h:46
const char MEDIA_PROVIDER[]
Definition: ExternalMediaAdapterConstants.h:78
const char SHUFFLE[]
Definition: ExternalMediaAdapterConstants.h:58
const char ARTIST_ID[]
Definition: ExternalMediaAdapterConstants.h:69
Whether or not curl logs should be emitted.
Definition: AVSConnectionManager.h:36
const char SMALL_URL[]
Definition: ExternalMediaAdapterConstants.h:74
const char SPI_VERSION[]
Definition: ExternalMediaAdapterConstants.h:44
const char STATE[]
Definition: ExternalMediaAdapterConstants.h:54
const char PLAYBACK_ID[]
Definition: ExternalMediaAdapterConstants.h:64
const char PLAYBACK_SOURCE_ID[]
Definition: ExternalMediaAdapterConstants.h:63
const char COVER_ID[]
Definition: ExternalMediaAdapterConstants.h:77
const char TRACK_ID[]
Definition: ExternalMediaAdapterConstants.h:66
const char POSITIONINMS[]
Definition: ExternalMediaAdapterConstants.h:57
const char OPERATIONS[]
Definition: ExternalMediaAdapterConstants.h:55
const char ALBUM_ID[]
Definition: ExternalMediaAdapterConstants.h:71
static const std::string EMP_AGENT_KEY("agentString")
const char DURATIONINMS[]
Definition: ExternalMediaAdapterConstants.h:80
const char MEDIUM_URL[]
Definition: ExternalMediaAdapterConstants.h:75

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