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

Interface IDisplay6

interface IDisplay6
Extends IDisplay5 Version 6 of IDisplay Provides API to query the physical shape of the display viewport. [ViewportShape]

Methods

getViewportShape()

ViewportShape getViewportShape()
Returns the physical shape of the display viewport.

Returns

ViewportShape The viewport shape of the display.

Throws

  • DeviceError — if the display device is not in active state [ViewportShape]

Last modified on October 29, 2026