新增:HEAD
通訊協定
SystemStateTransition
定義於 fuchsia.system.state/system-state-transition.fidl
提供通訊協定,用於在系統狀態轉換期間擷取相關資訊。
GetTerminationSystemState
取得終止狀態。
要求
<EMPTY>
回應
| 名稱 | 類型 |
|---|---|
state |
SystemPowerState
|
列舉
SystemPowerState strict
類型:uint8
定義於 fuchsia.system.state/system-state-transition.fidl
| 名稱 | 值 | 說明 |
|---|---|---|
FULLY_ON |
1 |
|
重新啟動 |
2 |
|
REBOOT_BOOTLOADER |
3 |
|
REBOOT_RECOVERY |
4 |
|
POWEROFF |
5 |
|
REBOOT_KERNEL_INITIATED |
8 |
常數
| 名稱 | 值 | 類型 | 說明 |
|---|---|---|---|
| MAX_SYSTEM_POWER_STATES |
6
|
uint32 |
|