AlexaClientSDK  3.0.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 
49 // The key values used in the context payload from External Media Player to AVS.
50 const char STATE[] = "state";
51 const char OPERATIONS[] = "supportedOperations";
52 const char MEDIA[] = "media";
53 const char POSITIONINMS[] = "positionMilliseconds";
54 const char SHUFFLE[] = "shuffle";
55 const char REPEAT[] = "repeat";
56 const char FAVORITE[] = "favorite";
57 const char PLAYBACK_SOURCE[] = "playbackSource";
58 const char TYPE[] = "type";
59 const char PLAYBACK_SOURCE_ID[] = "playbackSourceId";
60 const char PLAYBACK_ID[] = "playbackId";
61 const char TRACKNAME[] = "trackName";
62 const char TRACK_ID[] = "trackId";
63 const char TRACK_NUMBER[] = "trackNumber";
64 const char ARTIST[] = "artist";
65 const char ARTIST_ID[] = "artistId";
66 const char ALBUM[] = "album";
67 const char ALBUM_ID[] = "albumId";
68 const char COVER_URLS[] = "coverUrls";
69 const char TINY_URL[] = "tiny";
70 const char SMALL_URL[] = "small";
71 const char MEDIUM_URL[] = "medium";
72 const char LARGE_URL[] = "large";
73 const char COVER_ID[] = "coverId";
74 const char MEDIA_PROVIDER[] = "mediaProvider";
75 const char MEDIA_TYPE[] = "mediaType";
76 const char DURATIONINMS[] = "durationInMilliseconds";
77 const char VALUE[] = "value";
78 
79 } // namespace acsdkExternalMediaPlayerInterfaces
80 } // namespace alexaClientSDK
81 
82 #endif // ALEXA_CLIENT_SDK_ACSDKEXTERNALMEDIAPLAYERINTERFACES_INCLUDE_ACSDKEXTERNALMEDIAPLAYERINTERFACES_EXTERNALMEDIAADAPTERCONSTANTS_H_
const char MEDIA[]
Definition: ExternalMediaAdapterConstants.h:52
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:58
const char PLAYBACK_SESSION_ID[]
Definition: ExternalMediaAdapterConstants.h:47
const char ACTIVE[]
Definition: ExternalMediaAdapterConstants.h:43
const char ALBUM[]
Definition: ExternalMediaAdapterConstants.h:66
const char LOGGED_IN[]
Definition: ExternalMediaAdapterConstants.h:39
const char LAUNCHED[]
Definition: ExternalMediaAdapterConstants.h:42
::std::string string
Definition: gtest-port.h:1097
const char TINY_URL[]
Definition: ExternalMediaAdapterConstants.h:69
const char VALUE[]
Definition: ExternalMediaAdapterConstants.h:77
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:63
const char ARTIST[]
Definition: ExternalMediaAdapterConstants.h:64
const char USERNAME[]
Definition: ExternalMediaAdapterConstants.h:40
const char PLAYBACK_SOURCE[]
Definition: ExternalMediaAdapterConstants.h:57
const char TRACKNAME[]
Definition: ExternalMediaAdapterConstants.h:61
const char MEDIA_TYPE[]
Definition: ExternalMediaAdapterConstants.h:75
const char LARGE_URL[]
Definition: ExternalMediaAdapterConstants.h:72
const char REPEAT[]
Definition: ExternalMediaAdapterConstants.h:55
const char FAVORITE[]
Definition: ExternalMediaAdapterConstants.h:56
const char ENDPOINT_ID[]
Definition: ExternalMediaAdapterConstants.h:38
const char COVER_URLS[]
Definition: ExternalMediaAdapterConstants.h:68
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:74
const char SHUFFLE[]
Definition: ExternalMediaAdapterConstants.h:54
const char ARTIST_ID[]
Definition: ExternalMediaAdapterConstants.h:65
Whether or not curl logs should be emitted.
Definition: AVSConnectionManager.h:36
const char SMALL_URL[]
Definition: ExternalMediaAdapterConstants.h:70
const char SPI_VERSION[]
Definition: ExternalMediaAdapterConstants.h:44
const char STATE[]
Definition: ExternalMediaAdapterConstants.h:50
const char PLAYBACK_ID[]
Definition: ExternalMediaAdapterConstants.h:60
const char PLAYBACK_SOURCE_ID[]
Definition: ExternalMediaAdapterConstants.h:59
const char COVER_ID[]
Definition: ExternalMediaAdapterConstants.h:73
const char TRACK_ID[]
Definition: ExternalMediaAdapterConstants.h:62
const char POSITIONINMS[]
Definition: ExternalMediaAdapterConstants.h:53
const char OPERATIONS[]
Definition: ExternalMediaAdapterConstants.h:51
const char ALBUM_ID[]
Definition: ExternalMediaAdapterConstants.h:67
static const std::string EMP_AGENT_KEY("agentString")
const char DURATIONINMS[]
Definition: ExternalMediaAdapterConstants.h:76
const char MEDIUM_URL[]
Definition: ExternalMediaAdapterConstants.h:71

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