15 #ifndef ACSDK_VISUALCHARACTERISTICSINTERFACES_VISUALCHARACTERISTICSINTERFACE_H_ 16 #define ACSDK_VISUALCHARACTERISTICSINTERFACES_VISUALCHARACTERISTICSINTERFACE_H_ 22 namespace visualCharacteristicsInterfaces {
104 switch (windowSizeType) {
105 case WindowSizeType::DISCRETE:
107 case WindowSizeType::CONTINUOUS:
147 switch (windowType) {
148 case WindowType::STANDARD:
150 case WindowType::OVERLAY:
234 case UIMode::HEADLESS:
249 return "CENTIMETERS";
329 case TouchType::SINGLE:
331 case TouchType::UNSUPPORTED:
332 return "UNSUPPORTED";
345 case Shape::RECTANGLE:
398 virtual std::vector<WindowTemplate> getWindowTemplates() = 0;
404 virtual std::vector<InteractionMode> getInteractionModes() = 0;
418 virtual void setWindowInstances(
419 const std::vector<WindowInstance>& instances,
428 virtual bool addWindowInstance(
const WindowInstance& instance) = 0;
435 virtual bool removeWindowInstance(
const std::string& windowInstanceId) = 0;
441 virtual void updateWindowInstance(
const WindowInstance& instance) = 0;
448 virtual bool setDefaultWindowInstance(
const std::string& windowInstanceId) = 0;
452 #endif // ACSDK_VISUALCHARACTERISTICSINTERFACES_VISUALCHARACTERISTICSINTERFACE_H_ Dimension maximum
Definition: VisualCharacteristicsInterface.h:101
static const std::string touchTypeToText(const TouchType touchType)
Definition: VisualCharacteristicsInterface.h:327
Dimension densityIndependentResolution
The density independent resolution, unit must be DP.
Definition: VisualCharacteristicsInterface.h:303
Definition: VisualCharacteristicsInterface.h:368
static const std::string windowTypeToText(const WindowType windowType)
Definition: VisualCharacteristicsInterface.h:146
std::string id
Window template id.
Definition: VisualCharacteristicsInterface.h:130
UIMode
Enum defining the UI modes of interaction mode.
Definition: VisualCharacteristicsInterface.h:164
Definition: VisualCharacteristicsInterface.h:387
bool includeInWindowState
Definition: VisualCharacteristicsInterface.h:369
DisplayCharacteristics displayCharacteristics
Definition: VisualCharacteristicsInterface.h:381
static const std::string uiModeToText(const UIMode uiMode)
Definition: VisualCharacteristicsInterface.h:222
int display
Definition: VisualCharacteristicsInterface.h:371
int zOrderIndex
Definition: VisualCharacteristicsInterface.h:372
std::string sizeConfigurationId
Definition: VisualCharacteristicsInterface.h:362
Definition: VisualCharacteristicsInterface.h:27
double width
Width in unit dimensions.
Definition: VisualCharacteristicsInterface.h:50
std::vector< TouchType > touch
Touch types supported by the display.
Definition: VisualCharacteristicsInterface.h:291
Dimension resolution
The display resolution, unit must be PIXEL.
Definition: VisualCharacteristicsInterface.h:300
Unit
Enum class defining the unit for the interaction mode.
Definition: VisualCharacteristicsInterface.h:185
::std::string string
Definition: gtest-port.h:1097
Definition: VisualCharacteristicsInterface.h:262
UIMode uiMode
UI mode for this interaction mode.
Definition: VisualCharacteristicsInterface.h:194
std::string templateId
Definition: VisualCharacteristicsInterface.h:360
Shape
Enum defining the shape of the display.
Definition: VisualCharacteristicsInterface.h:279
bool dialogSupported
Dialog support.
Definition: VisualCharacteristicsInterface.h:215
std::string id
Definition: VisualCharacteristicsInterface.h:359
Definition: VisualCharacteristicsInterface.h:358
Rectangle shape.
Definition: VisualCharacteristicsInterface.h:281
std::vector< WindowSize > sizes
Sizes supported by this window template.
Definition: VisualCharacteristicsInterface.h:136
std::string id
Unique identifier for the specified size configuration.
Definition: VisualCharacteristicsInterface.h:92
TouchType
Enum defining the touch type supported by display.
Definition: VisualCharacteristicsInterface.h:270
Single display type.
Definition: VisualCharacteristicsInterface.h:272
Type
Enum defining the type of the Display.
Definition: VisualCharacteristicsInterface.h:264
int pixelDensity
The pixel density, unit is DPI.
Definition: VisualCharacteristicsInterface.h:297
std::string id
ID of this interaction mode.
Definition: VisualCharacteristicsInterface.h:197
WindowType
Enum defining the window types for the template.
Definition: VisualCharacteristicsInterface.h:121
static const std::string unitToText(const Unit unit)
Definition: VisualCharacteristicsInterface.h:246
static const std::string typeToText(const Type type)
Definition: VisualCharacteristicsInterface.h:313
static const std::string shapeToText(const Shape shape)
Definition: VisualCharacteristicsInterface.h:343
Dimension minimum
Definition: VisualCharacteristicsInterface.h:100
Unit
Enum defining the units for dimension.
Definition: VisualCharacteristicsInterface.h:29
std::vector< InteractionMode > interactionModes
Definition: VisualCharacteristicsInterface.h:379
WindowSizeType
Enum defining the Window Size types.
Definition: VisualCharacteristicsInterface.h:83
static const std::string unitToText(const Unit unit)
Definition: VisualCharacteristicsInterface.h:60
Definition: VisualCharacteristicsInterface.h:81
Unit interactionDistanceUnit
Unit of the interaction distance for this interaction mode.
Definition: VisualCharacteristicsInterface.h:200
Definition: VisualCharacteristicsInterface.h:119
static const std::string windowSizeTypeToText(const WindowSizeType windowSizeType)
Definition: VisualCharacteristicsInterface.h:103
std::vector< WindowTemplate > windowTemplates
Definition: VisualCharacteristicsInterface.h:380
Whether or not curl logs should be emitted.
Definition: AVSConnectionManager.h:36
Unit unit
Unit for this dimension.
Definition: VisualCharacteristicsInterface.h:47
bool touchSupported
Touch support.
Definition: VisualCharacteristicsInterface.h:206
int interactionDistanceValue
Value of the interaction distance for this interaction mode.
Definition: VisualCharacteristicsInterface.h:203
Type type
Type of the display.
Definition: VisualCharacteristicsInterface.h:288
Definition: VisualCharacteristicsInterface.h:162
std::string interactionMode
Definition: VisualCharacteristicsInterface.h:361
WindowType type
Type of of the window template.
Definition: VisualCharacteristicsInterface.h:133
bool keyboardSupported
Keyboard support.
Definition: VisualCharacteristicsInterface.h:209
double height
Height in unit dimensions.
Definition: VisualCharacteristicsInterface.h:53
bool videoSupported
Video support.
Definition: VisualCharacteristicsInterface.h:212
WindowSizeType type
Window size type.
Definition: VisualCharacteristicsInterface.h:95
std::vector< std::string > interactionModes
Interaction mode supported by this window template.
Definition: VisualCharacteristicsInterface.h:139
Shape shape
Shape of the display.
Definition: VisualCharacteristicsInterface.h:294
Dimension physicalSize
The physical size of the display, unit must be CENTIMETERS or INCHES.
Definition: VisualCharacteristicsInterface.h:306
bool supportsBackgroundPresentations
Definition: VisualCharacteristicsInterface.h:370
Definition: VisualCharacteristicsInterface.h:378