Amazon Developer

as

Settings
Sign out
Notifications
Alexa
Amazon Appstore
Ring
AWS
Documentation
Support
Contact Us
My Cases
Get Started
Design and Develop
Publish
Reference
Support
Native
Skip to main content

Struct ViewportShape

sealed struct ViewportShape
Describes the physical shape of the display viewport. Allows applications to identify whether the display is rectangular or round and adapt their UI accordingly. Please see [IDisplay6#getViewportShape]

Fields

Constants

UNDEFINED

ViewportShape = {"UNDEFINED"}
Shape has not been determined. Returned when the display connection is not yet established.

RECTANGLE

ViewportShape = {"RECTANGLE"}
Standard rectangular display

ROUND

ViewportShape = {"ROUND"}
Circular or round display
Last modified on October 29, 2026