fuchsia.castconfig

PROTOCOLS

Provider

Defined in fuchsia.castconfig/cast_config.fidl

Interface that provides cast config data.

Watch

Requests a buffer containing cast config data. This call implements the Hanging Get protocol as detailed in https://fuchsia.dev/fuchsia-src/development/api/fidl.md#delay-responses-using-hanging-gets

All error cases are terminal, clients should not retry on error.

Request

NameType

Response

NameType
result Provider_Watch_Result

Notify

Notifies the config provider of the config status.

processed: true if successfully recieved and processed retry: If processed is false config provider determines if a retry is appropriate.

Request

NameType
processed bool

Response

NameType
retry bool

STRUCTS

Provider_Watch_Response

generated

NameTypeDescriptionDefault
config fuchsia.mem/Buffer No default

ENUMS

ErrorCode

Type: uint32

Defined in fuchsia.castconfig/cast_config.fidl

Error codes for the Watch operation.

NameValueDescription
NO_CAST_CONFIG 1

Error when there is no cast config available.

INTERNAL 2

Generic error.

UNIONS

Provider_Watch_Result

generated

NameTypeDescription
response Provider_Watch_Response
err ErrorCode