fuchsia.castconfig

Added: 7

PROTOCOLS

Provider

Defined in fuchsia.castconfig/cast_config.fidl

Interface that provides cast config data.

Notify

Notifies the config provider of the config status.

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

Request

NameType
processed bool

Response

NameType
retry bool

Watch

Requests a buffer containing cast config data. This call implements the Hanging Get protocol as detailed in https://fuchsia.dev/fuchsia-src/concepts/api/fidl#hanging-get

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

Request

<EMPTY>

Response

NameType
payload Provider_Watch_Result

STRUCTS

Provider_Watch_Response resource

Defined in fuchsia.castconfig/cast_config.fidl

FieldTypeDescriptionDefault
config fuchsia.mem/Buffer No default

ENUMS

ErrorCode strict

Type: uint32

Defined in fuchsia.castconfig/cast_config.fidl

Error codes for the Watch operation.

NameValueDescription
1

Error when there is no cast config available.

2

Generic error.

UNIONS

Provider_Watch_Result strict resource

Defined in fuchsia.castconfig/cast_config.fidl

OrdinalVariantTypeDescription
response Provider_Watch_Response
err ErrorCode