AlexaClientSDK  3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
LiveViewControllerConfiguration.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 #ifndef ALEXA_CLIENT_SDK_ALEXALIVEVIEWCONTROLLERINTERFACES_INCLUDE_ACSDK_ALEXALIVEVIEWCONTROLLERINTERFACES_LIVEVIEWCONTROLLERCONFIGURATION_H_
16 #define ALEXA_CLIENT_SDK_ALEXALIVEVIEWCONTROLLERINTERFACES_INCLUDE_ACSDK_ALEXALIVEVIEWCONTROLLERINTERFACES_LIVEVIEWCONTROLLERCONFIGURATION_H_
17 
18 #include <set>
19 #include <string>
20 
22 
23 namespace alexaClientSDK {
24 namespace alexaLiveViewControllerInterfaces {
25 
29 struct Configuration {
31  std::set<DisplayMode> supportedDisplayModes;
32 
34  std::set<OverlayType> supportedOverlayTypes;
35 
37  std::set<OverlayPosition> supportedOverlayPositions;
38 
47  const std::set<DisplayMode>& supportedDisplayModes = {DisplayMode::FULL_SCREEN},
48  const std::set<OverlayType>& supportedOverlayTypes = {OverlayType::NONE},
49  const std::set<OverlayPosition>& supportedOverlayPositions = {OverlayPosition::TOP_RIGHT}) :
50  supportedDisplayModes{std::move(supportedDisplayModes)},
51  supportedOverlayTypes{std::move(supportedOverlayTypes)},
52  supportedOverlayPositions{std::move(supportedOverlayPositions)} {
53  }
54 };
55 
56 } // namespace alexaLiveViewControllerInterfaces
57 } // namespace alexaClientSDK
58 
59 #endif // ALEXA_CLIENT_SDK_ALEXALIVEVIEWCONTROLLERINTERFACES_INCLUDE_ACSDK_ALEXALIVEVIEWCONTROLLERINTERFACES_LIVEVIEWCONTROLLERCONFIGURATION_H_
Configuration(const std::set< DisplayMode > &supportedDisplayModes={DisplayMode::FULL_SCREEN}, const std::set< OverlayType > &supportedOverlayTypes={OverlayType::NONE}, const std::set< OverlayPosition > &supportedOverlayPositions={OverlayPosition::TOP_RIGHT})
Definition: LiveViewControllerConfiguration.h:46
std::set< DisplayMode > supportedDisplayModes
Display modes supported.
Definition: LiveViewControllerConfiguration.h:31
Directs the viewing device to display the overlay on the top right of the screen. ...
Whether or not curl logs should be emitted.
Definition: AVSConnectionManager.h:36
The camera live feed stream displays on the entire screen.
std::set< OverlayPosition > supportedOverlayPositions
Overlay positions supported.
Definition: LiveViewControllerConfiguration.h:37
std::set< OverlayType > supportedOverlayTypes
Overlay types supported.
Definition: LiveViewControllerConfiguration.h:34
The viewing device doesn&#39;t support overlay mode.
const T & move(const T &t)
Definition: gtest-port.h:1317
Definition: LiveViewControllerConfiguration.h:29

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