AlexaClientSDK  3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
WindowManagerHandlerInterface.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_LIBIPCSERVERSAMPLEAPP_INCLUDE_IPCSERVERSAMPLEAPP_IPC_HANDLERINTERFACES_WINDOWMANAGERHANDLERINTERFACE_H_
17 #define ALEXA_CLIENT_SDK_LIBIPCSERVERSAMPLEAPP_INCLUDE_IPCSERVERSAMPLEAPP_IPC_HANDLERINTERFACES_WINDOWMANAGERHANDLERINTERFACE_H_
18 
19 #include <string>
20 
21 namespace alexaClientSDK {
22 namespace sampleApplications {
23 namespace ipcServerSampleApp {
24 namespace ipc {
25 
27 static const char CHARACTERISTICS_TAG[] = "characteristics";
28 
30 static const char DEVICE_DISPLAY_TAG[] = "deviceDisplay";
31 
33 static const char WINDOW_TEMPLATES_TAG[] = "windowTemplates";
34 
36 static const char INTERACTION_MODES_TAG[] = "interactionModes";
37 
39 static const char DEFAULT_WINDOW_ID_TAG[] = "defaultWindowId";
40 
42 static const char AUDIO_PLAYBACK_UI_WINDOW_ID_TAG[] = "audioPlaybackUIWindowId";
43 
45 static const char WINDOW_INSTANCES_TAG[] = "windowInstances";
46 
48 static const char WINDOW_ID_TAG[] = "windowId";
49 
51 static const char TEMPLATE_ID_TAG[] = "templateId";
52 
54 static const char INTERACTION_MODE_TAG[] = "interactionMode";
55 
57 static const char SIZE_CONFIGURATION_ID_TAG[] = "sizeConfigurationId";
58 
60 static const char SUPPORTED_INTERFACES[] = "supportedInterfaces";
61 
63 static const char Z_ORDER_INDEX[] = "zOrderIndex";
64 
66 static const char WINDOW_IDS_TAG[] = "windowIds";
67 
72 public:
76  virtual ~WindowManagerHandlerInterface() = default;
77 
83  virtual void visualCharacteristicsRequest(const std::string& message) = 0;
84 
91  virtual void defaultWindowInstanceChanged(const std::string& message) = 0;
92 
99  virtual void windowInstancesReport(const std::string& message) = 0;
100 
107  virtual void windowInstancesAdded(const std::string& message) = 0;
108 
115  virtual void windowInstancesRemoved(const std::string& message) = 0;
116 
122  virtual void windowInstancesUpdated(const std::string& message) = 0;
123 };
124 
125 } // namespace ipc
126 } // namespace ipcServerSampleApp
127 } // namespace sampleApplications
128 } // namespace alexaClientSDK
129 
130 #endif // ALEXA_CLIENT_SDK_LIBIPCSERVERSAMPLEAPP_INCLUDE_IPCSERVERSAMPLEAPP_IPC_HANDLERINTERFACES_WINDOWMANAGERHANDLERINTERFACE_H_
static const char DEVICE_DISPLAY_TAG[]
Device display json key in the message.
Definition: WindowManagerHandlerInterface.h:30
static const char WINDOW_INSTANCES_TAG[]
The window instances json key in the message.
Definition: WindowManagerHandlerInterface.h:45
::std::string string
Definition: gtest-port.h:1097
static const char Z_ORDER_INDEX[]
The zOrderIndex json key in the message.
Definition: WindowManagerHandlerInterface.h:63
static const char WINDOW_TEMPLATES_TAG[]
Window templates json key in the message.
Definition: WindowManagerHandlerInterface.h:33
static const char SIZE_CONFIGURATION_ID_TAG[]
The size configuration id json key in the message.
Definition: WindowManagerHandlerInterface.h:57
static const char DEFAULT_WINDOW_ID_TAG[]
Default window id json key in the message.
Definition: WindowManagerHandlerInterface.h:39
static const char WINDOW_IDS_TAG[]
The window ids json key in the message.
Definition: WindowManagerHandlerInterface.h:66
static const char AUDIO_PLAYBACK_UI_WINDOW_ID_TAG[]
Audio playback UI window id json key in the message.
Definition: WindowManagerHandlerInterface.h:42
static const char SUPPORTED_INTERFACES[]
The supported interfaces json key in the message.
Definition: WindowManagerHandlerInterface.h:60
static const char INTERACTION_MODES_TAG[]
Interaction modes json key in the message.
Definition: WindowManagerHandlerInterface.h:36
static const char INTERACTION_MODE_TAG[]
The interaction mode json key in the message.
Definition: WindowManagerHandlerInterface.h:54
Whether or not curl logs should be emitted.
Definition: AVSConnectionManager.h:36
static const char CHARACTERISTICS_TAG[]
Characteristics json key in the message.
Definition: WindowManagerHandlerInterface.h:27
tuple message
Definition: gtest_output_test.py:331
static const char WINDOW_ID_TAG[]
The window id json key in the message.
Definition: WindowManagerHandlerInterface.h:48
static const char TEMPLATE_ID_TAG[]
The template id json key in the message.
Definition: WindowManagerHandlerInterface.h:51

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