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
Listener interface for DisplayController events. NOTE: Currently only primary display hot plug events are supported in this turbomodule.

Properties

onAddDisplay

onAddDisplay: (id: Int32) => void
Triggered when a new display is added.

Parameters

id
Int32 An unique identifier of the display being added.

onRemoveDisplay

onRemoveDisplay: (id: Int32) => void
Triggered when a display is removed. When a display is removed then the “Display” object should not be used to do any operation rather it should wait for onAddDisplay() event and then use the “Display” object, otherwise the “Display” object behaviour is undefined.

Parameters

id
Int32 An unique identifier for the primary display being removed.
Last modified on August 25, 2026