as

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

IDisplayControllerListener

Listener interface for DisplayController events. NOTE: Currently only primary display hot plug events are supported in this turbomodule.

Properties

onAddDisplay()

onAddDisplay: (id) => void

Triggered when a new display is added.

Parameters

id

number

An unique identifier of the display being added.

Returns

void


onRemoveDisplay()

onRemoveDisplay: (id) => 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

number

An unique identifier for the primary display being removed.

Returns

void


Last updated: Oct 02, 2025