AlexaClientSDK  3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
PresentationOptions.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 ACSDKALEXAPRESENTATIONINTERFACES_PRESENTATIONOPTIONS_H_
17 #define ACSDKALEXAPRESENTATIONINTERFACES_PRESENTATIONOPTIONS_H_
18 
19 #include <chrono>
20 #include <string>
21 #include <vector>
22 
23 namespace alexaClientSDK {
24 namespace acsdkAlexaPresentationInterfaces {
25 
26 enum class VisualFocusBehavior {
29 
33 
36 };
37 
41  TRANSIENT,
42 
46  SHORT,
47 
50  LONG,
51 
55  PERMANENT
56 };
57 
61 
63  std::chrono::milliseconds timeout;
64 
69 
72 
75 
78 
80  std::chrono::steady_clock::time_point documentReceivedTimestamp;
81 };
82 
83 } // namespace acsdkAlexaPresentationInterfaces
84 } // namespace alexaClientSDK
85 
86 #endif // ACSDKALEXAPRESENTATIONINTERFACES_PRESENTATIONOPTIONS_H_
std::string token
The presentation token that will be reported in Alexa.Display.WindowState.
Definition: PresentationOptions.h:74
std::string interface
The AVS namespace associated with this presentation.
Definition: PresentationOptions.h:71
::std::string string
Definition: gtest-port.h:1097
VisualFocusBehavior
Definition: PresentationOptions.h:26
The content can be backgrounded, if another presentation takes the window.
std::chrono::milliseconds timeout
The timeout for the document.
Definition: PresentationOptions.h:63
VisualFocusBehavior visualFocusBehavior
Definition: PresentationOptions.h:68
PresentationLifespan lifespan
Specifies the lifespan type for this presentation.
Definition: PresentationOptions.h:77
std::string windowId
Window ID corresponding to a window reported in Alexa.Display.
Definition: PresentationOptions.h:60
Whether or not curl logs should be emitted.
Definition: AVSConnectionManager.h:36
PresentationLifespan
Definition: PresentationOptions.h:38
The content is on top at all times, other presentations cannot take focus.
std::chrono::steady_clock::time_point documentReceivedTimestamp
Specifies the timestamp when the document was received.
Definition: PresentationOptions.h:80

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