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
| Name | Type | 
|---|---|
| processed | bool | 
Response
| Name | Type | 
|---|---|
| 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
| Name | Type | 
|---|---|
| payload | Provider_Watch_Result | 
STRUCTS
Provider_Watch_Response resource
Defined in fuchsia.castconfig/cast_config.fidl
| Field | Type | Description | Default | 
|---|---|---|---|
| config | fuchsia.mem/Buffer | No default | 
ENUMS
ErrorCode strict
Type: uint32
Defined in fuchsia.castconfig/cast_config.fidl
Error codes for the Watch operation.
| Name | Value | Description | 
|---|---|---|
| NO_CAST_CONFIG | 1 | Error when there is no cast config available. | 
| INTERNAL | 2 | Generic error. | 
UNIONS
Provider_Watch_Result strict resource
Defined in fuchsia.castconfig/cast_config.fidl
| Ordinal | Variant | Type | Description | 
|---|---|---|---|
| 1 | response | Provider_Watch_Response | |
| 2 | err | ErrorCode |