Project: /_project.yaml Book: /_book.yaml

fuchsia.time

PROTOCOLS

DeprecatedNetworkSync {:#DeprecatedNetworkSync}

Defined in fuchsia.time/deprecated_network_sync.fidl

Emits UtcUpdated events when the serving program changes the UTC offset tracked by ZX_CLOCK_UTC.

Do not take this API as a dependency, it will be deleted in the near future.

UtcUpdated {:#UtcUpdated}

Notifies the client that UTC has changed, along with the monotonic clock's value when the change was made.

Response

Utc {:#Utc}

Defined in fuchsia.time/utc.fidl

Metadata about a device's approximation of UTC time, commonly referred to as “system time.”

WatchState {:#WatchState}

Notifies clients of updates to the UTC timeline. The first call on a channel returns immediately, and subsequent calls on the same channel will return when the state has changed.

Request

Response

ENUMS

UtcSource {:#UtcSource}

Type: uint32

Defined in fuchsia.time/utc.fidl

Describes the source from which the current UTC approximation was retrieved.

TABLES

UtcState {:#UtcState}

Defined in fuchsia.time/utc.fidl

Describes the state of the clock.