as

Settings
Sign out
Notifications
Alexa
Amazonアプリストア
AWS
ドキュメント
Support
Contact Us
My Cases
開発
設計と開発
公開
リファレンス
サポート
メインコンテンツへスキップ
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.
最終更新日 2026年8月25日