PROTOCOLS
DisplayListener
Defined in fuchsia.ui.display/display_manager.fidl
Display Listener protocol implemented by clients.
OnDisplayAdded
Called when displays are added. This method will also be called when the listener is registered for any connected displays.
Request
Name | Type |
---|---|
display |
Info
|
OnDisplayRemoved
Called when displays are removed.
Request
Name | Type |
---|---|
display |
DisplayRef
|
OnDisplayOwnershipChanged
Called when the client gains or loses ownership of the displays.
New clients should assume they do not have ownership of the display until informed otherwise by this method. Ownership can be lost and gained more than once.
Request
Name | Type |
---|---|
displays |
vector<DisplayRef>[1024]
|
owned_by_display_controller |
bool
|
DisplayManager
Defined in fuchsia.ui.display/display_manager.fidl
|DisplayManager| is a service that informs the client of new or removed displays and allows changing of display configuration. Every display is associated with a DisplayRef which can also be used as a parameter to other apis (e.g. Scenic).
AddDisplayListener
Request
Name | Type |
---|---|
listener |
DisplayListener
|
STRUCTS
DisplayRef
Defined in fuchsia.ui.display/display_manager.fidl
Unique identifier for a display. Also serves as a capability, enabling the owner to perform certain operations on displays in the DisplayManager protocol and other protocols (like Scenic).
Name | Type | Description | Default |
---|---|---|---|
reference |
handle<event>
|
No default |
TABLES
Info
Defined in fuchsia.ui.display/display_manager.fidl
Ordinal | Name | Type | Description |
---|---|---|---|
1 | display_ref |
DisplayRef
|
|
2 | modes |
vector<fuchsia.hardware.display/Mode>[256]
|
|
3 | manufacturer_name |
DisplayIdentifier
|
|
4 | monitor_name |
DisplayIdentifier
|
CONSTANTS
Name | Value | Type | Description |
---|---|---|---|
MODES_MAX_LEN |
256
|
int32 |
|
MODE_INTERLACED |
1
|
int32 |
|
IDENTIFIER_MAX_LEN |
128
|
uint32 |
|
DISPLAYS_MAX_LEN |
1024
|
int32 |
TYPE ALIASES
Name | Value | Description |
---|---|---|
DisplayIdentifier |
string [IDENTIFIER_MAX_LEN ] |