PROTOCOLS
DisplayPower
Defined in fuchsia.ui.display.singleton/power.fidl
Controls the power state of the default display device.
SetDisplayPower
Set the power state of the default connected display device to power_on
.
When successfull, the connected display is turned on or off. Once the
display device is turned off, fuchsia.hardware.display/Coordinator
clients will not receive OnVsync
events anymore until the display device is
turned on again.
Fails with ZX_ERR_NOT_SUPPORTED if the connected display fails to turn on/off.
All display devices are turned on by default.
Request
Name | Type |
---|---|
power_on |
bool
|
Response
Name | Type |
---|---|
payload |
DisplayPower_SetDisplayPower_Result
|
Info
Defined in fuchsia.ui.display.singleton/info.fidl
Get information about Scenic's primary display.
GetMetrics
Request
<EMPTY>
Response
Name | Type |
---|---|
info |
Metrics
|
STRUCTS
DisplayPower_SetDisplayPower_Response
Defined in fuchsia.ui.display.singleton/power.fidl
<EMPTY>
TABLES
Metrics
Defined in fuchsia.ui.display.singleton/info.fidl
Describes the physical display, and how to map between physical and logical pixels.
Ordinal | Field | Type | Description |
---|---|---|---|
1 |
extent_in_px |
fuchsia.math/SizeU
|
Same meaning as |
2 |
extent_in_mm |
fuchsia.math/SizeU
|
Same meaning as |
3 |
recommended_device_pixel_ratio |
fuchsia.math/VecF
|
The number of physical pixels per "logical" pixel, for example as in
|
4 |
maximum_refresh_rate_in_millihertz |
uint32
|
The maximum mumber of images transmitted to the display in 1000 seconds. This is the display's maximum vertical refresh rate, in millihertz (0.001 Hz). Added: 16
|
UNIONS
DisplayPower_SetDisplayPower_Result strict
Defined in fuchsia.ui.display.singleton/power.fidl
Ordinal | Variant | Type | Description |
---|---|---|---|
1 |
response |
DisplayPower_SetDisplayPower_Response
|
|
2 |
err |
zx/Status
|