class ShutdownWatcherRegister
Defined at line 62 of file fidling/gen/sdk/fidl/fuchsia.hardware.power.statecontrol/fuchsia.hardware.power.statecontrol/cpp/fidl/fuchsia.hardware.power.statecontrol/cpp/markers.h
Allows components to register a callback that will be executed when reboots or shutdowns occur.
The main purpose of this protocol is to be able to track shutdown reasons and provide signals
to critical platform components that cannot rely on Component Framework's orderly shutdown.
Before relying on this protocol, consider using Component Framework's orderly shutdown
pattern or component lifecycle hooks.
Public Members
static Openness kOpenness
static const char[] kDiscoverableName