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 recieved 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/development/api/fidl.md#delay-responses-using-hanging-gets
All error cases are terminal, clients should not retry on error.
Request
Name | Type |
---|
Response
Name | Type |
---|---|
result |
Provider_Watch_Result
|
STRUCTS
Provider_Watch_Response
Defined in fuchsia.castconfig/cast_config.fidl
Name | Type | Description | Default |
---|---|---|---|
config |
fuchsia.mem/Buffer
|
No default |
ENUMS
ErrorCode
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
Defined in fuchsia.castconfig/cast_config.fidl
Name | Type | Description |
---|---|---|
response |
Provider_Watch_Response
|
|
err |
ErrorCode
|