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
Skip to main content
Class that retrieves properties of the primary display. Note only primary display is supported by this turbomodule.

Constructors

new Display()

new Display(): Display

Returns

Display

Methods

addDisplayListener()

static addDisplayListener(listener): ISubscription Adds display listener object IDisplayListener to receive callbacks when display properties change. It returns a ISubscription object, which is used to unsubscribe the listener from receiving events through ().

Parameters

listener
IDisplayListener IDisplayListener interface

Returns

ISubscription ISubscription object related to this listener

See

DisplayListenerSubscription

addDisplayListener2()

static addDisplayListener2(listener): ISubscription Adds display listener object IDisplayListener to receive callbacks when display properties change. It returns a ISubscription object, which is used to unsubscribe the listener from receiving events through ().

Parameters

listener
IDisplayListener IDisplayListener interface

Returns

ISubscription ISubscription object related to this listener

See

DisplayListenerSubscription
Last modified on October 2, 2025