as

Settings
Sign out
Notifications
Alexa
亚马逊应用商店
Ring
AWS
文档
Support
Contact Us
My Cases
新手入门
设计和开发
应用发布
参考
支持
感谢您的访问。此页面目前仅提供英语版本。我们正在开发中文版本。谢谢您的理解。

IDisplayControllerListener

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.


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.


Last updated: Jul 22, 2026