fuchsia.recovery.ui

This library defines the interfaces for communicating with Recovery UI components

Added: 7

PROTOCOLS

FactoryResetCountdown

Defined in fuchsia.recovery.ui/countdown.fidl

Protocol to watch for changes when a factory reset countdown is started or cancelled. An immediate factory reset does not start a countdown.

Watch

Hanging get that returns when a factory reset is scheduled or a scheduled factory reset is cancelled. Will return immediately on first call per connection and then on change after that.

Request

<EMPTY>

Response

NameType
state FactoryResetCountdownState

ProgressRenderer

Defined in fuchsia.recovery.ui/progress.fidl

Protocol to receive progress updates to display a carnelian based progress bar UI.

Render

Called to send progress updates to the renderer.

The return value is used for flow control, and implementers should acknowledge receipt of each message in order to continue receiving future messages.

Deprecated: 9

Request

NameType
status Status
percent_complete float32

Response

<EMPTY>

Render2

Called to send progress updates to the renderer.

This call optionally contains timing or speed information for the progress bar to move slowly to percent_complete

The return value is used for flow control, and implementers should acknowledge receipt of each message in order to continue receiving future messages.

Added: 9

Request

NameType
payload ProgressRendererRender2Request

Response

<EMPTY>

ENUMS

Status strict

Type: uint32

Defined in fuchsia.recovery.ui/progress.fidl

NameValueDescription
1
2
3
4
5

TABLES

FactoryResetCountdownState

Defined in fuchsia.recovery.ui/countdown.fidl

Information provided through the FactoryResetCountdown protocol on the current factory reset state.

OrdinalFieldTypeDescription
scheduled_reset_time zx/Time

The time of when factory reset is scheduled to be triggered when a countdown for factory reset is in progress with respect to the monotonic clock. This field is left unpopulated if no reset is scheduled.

ProgressRendererRender2Request

Defined in fuchsia.recovery.ui/progress.fidl

OrdinalFieldTypeDescription
status Status
percent_complete float32

Optional, only used with status ACTIVE No value or an invalid value sets the progress bar to 0% Values: [0.0 - 100.0]

elapsed_time zx/Duration

Time to take to move slowly to percent_complete Optional, only used with status ACTIVE No value indicates an instant jump to percent_complete