PROTOCOLS
Capabilities
Defined in fuchsia.component.runtime/capabilities.fidl
An API for creating and manipulating references to runtime capabilities in the component framework. These capabilities are all reference counted by component manager, and when accessed with this protocol the references are implemented as event pair handles.
CapabilityAssociateHandle
Associates other_handle with the same capability referenced by
capability_handle.
Typically if one already has capability_handle the handle can be
duplicated to make a new handle that references the same object, but
this doesn't work when someone else has provided a handle that should be
associated with an existing object.
Request
| Name | Type |
|---|---|
capability_handle |
handle<eventpair>
|
other_handle |
handle<eventpair>
|
Response
| Name | Type |
|---|---|
payload |
Capabilities_CapabilityAssociateHandle_Result
|
ConnectorCreate
Creates a reference to a new connector capability. When the connector is
opened, the channel given to the open call will be sent over
receiver_client_end.
Make sure this method returns before passing the handle's peer to other methods in this API. The creation may not be complete before then.
Request
| Name | Type |
|---|---|
connector |
handle<eventpair>
|
receiver_client_end |
client_end:Receiver
|
Response
| Name | Type |
|---|---|
payload |
Capabilities_ConnectorCreate_Result
|
ConnectorOpen
Uses the provided connector to open a new connection by delivering
this channel to whoever created the connector.
If there is an error, it will be reported as a zx.Status epitaph on
channel.
If the connector event pair handle is not correlated with a handle
given to ConnectorCreate, this connection will be closed.
Request
| Name | Type |
|---|---|
connector |
handle<eventpair>
|
channel |
handle<channel>
|
Response
| Name | Type |
|---|---|
payload |
Capabilities_ConnectorOpen_Result
|
ConnectorRouterCreate
Creates a reference to a new router capability that will return a connector capability when used.
Make sure this method returns before passing the handle's peer to other methods in this API. The creation may not be complete before then.
Request
| Name | Type |
|---|---|
router |
handle<eventpair>
|
router_client_end |
client_end:ConnectorRouter
|
Response
| Name | Type |
|---|---|
payload |
Capabilities_ConnectorRouterCreate_Result
|
ConnectorRouterRoute
Attempts to produce a Connector capability from this
ConnectorRouter.
request contains context for this route, and instance_token
references the component that the routing operation is being performed
for.
This will return:
SUCCESSifconnectorhas been associated with a connector.UNAVAILABLEif the capability is unavailable, in which caseconnectorwill be closed.- An error, if the operation failed.
Request
| Name | Type |
|---|---|
router |
handle<eventpair>
|
request |
RouteRequest
|
instance_token |
handle<eventpair>
|
connector |
handle<eventpair>
|
Response
| Name | Type |
|---|---|
payload |
Capabilities_ConnectorRouterRoute_Result
|
DataCreate
Creates a reference to a new data capability with the given value.
Make sure this method returns before passing the handle's peer to other methods in this API. The creation may not be complete before then.
Request
| Name | Type |
|---|---|
data_handle |
handle<eventpair>
|
data |
Data
|
Response
| Name | Type |
|---|---|
payload |
Capabilities_DataCreate_Result
|
DataGet
Returns the Data value that was provided to the DataCreate call used
with data_handle.
Request
| Name | Type |
|---|---|
data_handle |
handle<eventpair>
|
Response
| Name | Type |
|---|---|
payload |
Capabilities_DataGet_Result
|
DataRouterCreate
Creates a reference to a new router capability that will return a data value when used.
Make sure this method returns before passing the handle's peer to other methods in this API. The creation may not be complete before then.
Request
| Name | Type |
|---|---|
router |
handle<eventpair>
|
router_client_end |
client_end:DataRouter
|
Response
| Name | Type |
|---|---|
payload |
Capabilities_DataRouterCreate_Result
|
DataRouterRoute
Attempts to produce a Data capability from this DataRouter.
request contains context for this route, and instance_token
references the component that the routing operation is being performed
for.
This will return:
SUCCESSifdatahas been associated with a connector.UNAVAILABLEif the capability is unavailable, in which casedatawill be closed.- An error, if the operation failed.
Request
| Name | Type |
|---|---|
router |
handle<eventpair>
|
request |
RouteRequest
|
instance_token |
handle<eventpair>
|
data |
handle<eventpair>
|
Response
| Name | Type |
|---|---|
payload |
Capabilities_DataRouterRoute_Result
|
DictionaryCreate
Creates a reference to a new dictionary capability.
Make sure this method returns before passing the handle's peer to other methods in this API. The creation may not be complete before then.
Request
| Name | Type |
|---|---|
dictionary |
handle<eventpair>
|
Response
| Name | Type |
|---|---|
payload |
Capabilities_DictionaryCreate_Result
|
DictionaryGet
Creates a new reference to the capability named key in this
dictionary, if that capability exists. That capability will remain in
the dictionary. To take a capability out of the dictionary, use
DictionaryRemove.
If key does not exist, value will not reference any capability and
the NO_SUCH_CAPABILITY error value will be returned.
Make sure this method returns before passing the handle's peer to other methods in this API. The creation may not be complete before then.
Request
| Name | Type |
|---|---|
dictionary |
handle<eventpair>
|
key |
fuchsia.component.decl/name
|
value |
handle<eventpair>
|
Response
| Name | Type |
|---|---|
payload |
Capabilities_DictionaryGet_Result
|
DictionaryInsert
Inserts a new capability into this Dictionary under the name key.
Overwrites any existing entry.
Request
| Name | Type |
|---|---|
dictionary |
handle<eventpair>
|
key |
fuchsia.component.decl/name
|
value |
handle<eventpair>
|
Response
| Name | Type |
|---|---|
payload |
Capabilities_DictionaryInsert_Result
|
DictionaryIterateKeys
Opens an iterator which can be used to iterate over the keys of this dictionary.
Request
| Name | Type |
|---|---|
dictionary |
handle<eventpair>
|
key_iterator |
server_end:DictionaryKeyIterator
|
Response
| Name | Type |
|---|---|
payload |
Capabilities_DictionaryIterateKeys_Result
|
DictionaryRemove
Removes the capability named key from this dictionary and returns a
reference to it, if that capability exists.
dictionary and key are required. capability is optional, and when
set will become associated with the capability that was removed from the
dictionary.
If key does not exist, value will not reference any capability and
the NO_SUCH_CAPABILITY error value will be returned.
Make sure this method returns before passing the peer of capability to
other methods in this API. The creation may not be complete before then.
Request
| Name | Type |
|---|---|
payload |
CapabilitiesDictionaryRemoveRequest
|
Response
| Name | Type |
|---|---|
payload |
Capabilities_DictionaryRemove_Result
|
DictionaryRouterCreate
Creates a reference to a new router capability that will return a dictionary capability when used.
Make sure this method returns before passing the handle's peer to other methods in this API. The creation may not be complete before then.
Request
| Name | Type |
|---|---|
router |
handle<eventpair>
|
router_client_end |
client_end:DictionaryRouter
|
Response
| Name | Type |
|---|---|
payload |
Capabilities_DictionaryRouterCreate_Result
|
DictionaryRouterRoute
Attempts to produce a Dictionary capability from this
DictionaryRouter.
request contains context for this route, and instance_token
references the component that the routing operation is being performed
for.
This will return:
SUCCESSifdictionaryhas been associated with a connector.UNAVAILABLEif the capability is unavailable, in which casedictionarywill be closed.- An error, if the operation failed.
Request
| Name | Type |
|---|---|
router |
handle<eventpair>
|
request |
RouteRequest
|
instance_token |
handle<eventpair>
|
dictionary |
handle<eventpair>
|
Response
| Name | Type |
|---|---|
payload |
Capabilities_DictionaryRouterRoute_Result
|
DirConnectorCreate
Creates a reference to a new directory connector capability. When the
directory connector is opened, the channel given to the open call will
be sent over receiver_client_end.
Make sure this method returns before passing the handle's peer to other methods in this API. The creation may not be complete before then.
Request
| Name | Type |
|---|---|
dir_connector |
handle<eventpair>
|
receiver_client_end |
client_end:DirReceiver
|
Response
| Name | Type |
|---|---|
payload |
Capabilities_DirConnectorCreate_Result
|
DirConnectorOpen
Uses the provided dir_connector to open a new directory connection by
delivering this channel to whoever created the directory connector.
If there is an error, it will be reported as a zx.Status epitaph on
channel.
If the dir_connector event pair handle is not correlated with a handle
given to DirConnectorCreate, this connection will be closed.
dir_connector and channel are both required. flags and path
may be omitted.
Request
| Name | Type |
|---|---|
payload |
CapabilitiesDirConnectorOpenRequest
|
Response
| Name | Type |
|---|---|
payload |
Capabilities_DirConnectorOpen_Result
|
DirConnectorRouterCreate
Creates a reference to a new router capability that will return a directory connector capability when used.
Make sure this method returns before passing the handle's peer to other methods in this API. The creation may not be complete before then.
Request
| Name | Type |
|---|---|
router |
handle<eventpair>
|
router_client_end |
client_end:DirConnectorRouter
|
Response
| Name | Type |
|---|---|
payload |
Capabilities_DirConnectorRouterCreate_Result
|
DirConnectorRouterRoute
Attempts to produce a DirConnector capability from this
DirConnectorRouter.
request contains context for this route, and instance_token
references the component that the routing operation is being performed
for.
This will return:
SUCCESSifdir_connectorhas been associated with a connector.UNAVAILABLEif the capability is unavailable, in which casedir_connectorwill be closed.- An error, if the operation failed.
Request
| Name | Type |
|---|---|
router |
handle<eventpair>
|
request |
RouteRequest
|
instance_token |
handle<eventpair>
|
dir_connector |
handle<eventpair>
|
Response
| Name | Type |
|---|---|
payload |
Capabilities_DirConnectorRouterRoute_Result
|
InstanceTokenCreate
Creates a new instance token, which is an opaque identifier associated with a specific component. This instance token will be associated with the component this connection is opened from.
Make sure this method returns before passing the handle's peer to other methods in this API. The creation may not be complete before then.
Request
| Name | Type |
|---|---|
instance_token |
handle<eventpair>
|
Response
| Name | Type |
|---|---|
payload |
Capabilities_InstanceTokenCreate_Result
|
ConnectorRouter
Defined in fuchsia.component.runtime/capabilities.fidl
A factory for Connector capabilities.
Route
Attempts to produce a Connector capability from this
ConnectorRouter.
request contains context for this route, and instance_token
references the component that the routing operation is being performed
for.
This will return:
SUCCESSifhandlehas been associated with a connector.UNAVAILABLEif the capability is unavailable, in which casehandlewill be closed.- An error, if the operation failed.
Request
| Name | Type |
|---|---|
request |
RouteRequest
|
instance_token |
handle<eventpair>
|
handle |
handle<eventpair>
|
Response
| Name | Type |
|---|---|
payload |
ConnectorRouter_Route_Result
|
DataRouter
Defined in fuchsia.component.runtime/capabilities.fidl
A factory for Data capabilities.
Route
Attempts to produce a Data capability from this
DataRouter.
request contains context for this route, and instance_token
references the component that the routing operation is being performed
for.
This will return:
SUCCESSifhandlehas been associated with a connector.UNAVAILABLEif the capability is unavailable, in which casehandlewill be closed.- An error, if the operation failed.
Request
| Name | Type |
|---|---|
request |
RouteRequest
|
instance_token |
handle<eventpair>
|
handle |
handle<eventpair>
|
Response
| Name | Type |
|---|---|
payload |
DataRouter_Route_Result
|
DictionaryKeyIterator
Defined in fuchsia.component.runtime/capabilities.fidl
GetNext
Returns the next set of keys in this dictionary. Returns an empty vector when there are no more keys to iterate.
Request
<EMPTY>
Response
| Name | Type |
|---|---|
keys |
vector<fuchsia.component.decl/name>
|
DictionaryRouter
Defined in fuchsia.component.runtime/capabilities.fidl
A factory for Dictionary capabilities.
Route
Attempts to produce a Dictionary capability from this
DictionaryRouter.
request contains context for this route, and instance_token
references the component that the routing operation is being performed
for.
This will return:
SUCCESSifhandlehas been associated with a connector.UNAVAILABLEif the capability is unavailable, in which casehandlewill be closed.- An error, if the operation failed.
Request
| Name | Type |
|---|---|
request |
RouteRequest
|
instance_token |
handle<eventpair>
|
handle |
handle<eventpair>
|
Response
| Name | Type |
|---|---|
payload |
DictionaryRouter_Route_Result
|
DirConnectorRouter
Defined in fuchsia.component.runtime/capabilities.fidl
A factory for DirConnector capabilities.
Route
Attempts to produce a DirConnector capability from this
DirConnectorRouter.
request contains context for this route, and instance_token
references the component that the routing operation is being performed
for.
This will return:
SUCCESSifhandlehas been associated with a connector.UNAVAILABLEif the capability is unavailable, in which casehandlewill be closed.- An error, if the operation failed.
Request
| Name | Type |
|---|---|
request |
RouteRequest
|
instance_token |
handle<eventpair>
|
handle |
handle<eventpair>
|
Response
| Name | Type |
|---|---|
payload |
DirConnectorRouter_Route_Result
|
DirReceiver
Defined in fuchsia.component.runtime/capabilities.fidl
A DirReceiver represents the receiving end of a DirConnector.
Receive
Receive will be called by component manager whenever a new handle has
been given to any DirConnector associated with this DirReceiver.
Request
| Name | Type |
|---|---|
channel |
server_end:fuchsia.io/Directory
|
path |
fuchsia.io/Path
|
rights |
fuchsia.io/Flags
|
Receiver
Defined in fuchsia.component.runtime/capabilities.fidl
A Receiver represents the receiving end of a Connector.
Receive
Receive will be called by component manager whenever an new handle has
been given to any Connector associated with this Receiver.
Request
| Name | Type |
|---|---|
channel |
handle<channel>
|
STRUCTS
Capabilities_CapabilityAssociateHandle_Response
Defined in fuchsia.component.runtime/capabilities.fidl
<EMPTY>
Capabilities_ConnectorCreate_Response
Defined in fuchsia.component.runtime/capabilities.fidl
<EMPTY>
Capabilities_ConnectorOpen_Response
Defined in fuchsia.component.runtime/capabilities.fidl
<EMPTY>
Capabilities_ConnectorRouterCreate_Response
Defined in fuchsia.component.runtime/capabilities.fidl
<EMPTY>
Capabilities_ConnectorRouterRoute_Response
Defined in fuchsia.component.runtime/capabilities.fidl
| Field | Type | Description | Default |
|---|---|---|---|
response |
RouterResponse
|
No default |
Capabilities_DataCreate_Response
Defined in fuchsia.component.runtime/capabilities.fidl
<EMPTY>
Capabilities_DataRouterCreate_Response
Defined in fuchsia.component.runtime/capabilities.fidl
<EMPTY>
Capabilities_DataRouterRoute_Response
Defined in fuchsia.component.runtime/capabilities.fidl
| Field | Type | Description | Default |
|---|---|---|---|
response |
RouterResponse
|
No default |
Capabilities_DictionaryCreate_Response
Defined in fuchsia.component.runtime/capabilities.fidl
<EMPTY>
Capabilities_DictionaryGet_Response resource
Defined in fuchsia.component.runtime/capabilities.fidl
| Field | Type | Description | Default |
|---|---|---|---|
capability_type |
CapabilityType
|
No default |
Capabilities_DictionaryInsert_Response
Defined in fuchsia.component.runtime/capabilities.fidl
<EMPTY>
Capabilities_DictionaryIterateKeys_Response
Defined in fuchsia.component.runtime/capabilities.fidl
<EMPTY>
Capabilities_DictionaryRemove_Response resource
Defined in fuchsia.component.runtime/capabilities.fidl
| Field | Type | Description | Default |
|---|---|---|---|
capability_type |
CapabilityType
|
No default |
Capabilities_DictionaryRouterCreate_Response
Defined in fuchsia.component.runtime/capabilities.fidl
<EMPTY>
Capabilities_DictionaryRouterRoute_Response
Defined in fuchsia.component.runtime/capabilities.fidl
| Field | Type | Description | Default |
|---|---|---|---|
response |
RouterResponse
|
No default |
Capabilities_DirConnectorCreate_Response
Defined in fuchsia.component.runtime/capabilities.fidl
<EMPTY>
Capabilities_DirConnectorOpen_Response
Defined in fuchsia.component.runtime/capabilities.fidl
<EMPTY>
Capabilities_DirConnectorRouterCreate_Response
Defined in fuchsia.component.runtime/capabilities.fidl
<EMPTY>
Capabilities_DirConnectorRouterRoute_Response
Defined in fuchsia.component.runtime/capabilities.fidl
| Field | Type | Description | Default |
|---|---|---|---|
response |
RouterResponse
|
No default |
Capabilities_InstanceTokenCreate_Response
Defined in fuchsia.component.runtime/capabilities.fidl
<EMPTY>
ConnectorRouter_Route_Response
Defined in fuchsia.component.runtime/capabilities.fidl
| Field | Type | Description | Default |
|---|---|---|---|
response |
RouterResponse
|
No default |
DataRouter_Route_Response
Defined in fuchsia.component.runtime/capabilities.fidl
| Field | Type | Description | Default |
|---|---|---|---|
response |
RouterResponse
|
No default |
DictionaryRouter_Route_Response
Defined in fuchsia.component.runtime/capabilities.fidl
| Field | Type | Description | Default |
|---|---|---|---|
response |
RouterResponse
|
No default |
DirConnectorRouter_Route_Response
Defined in fuchsia.component.runtime/capabilities.fidl
| Field | Type | Description | Default |
|---|---|---|---|
response |
RouterResponse
|
No default |
ENUMS
CapabilitiesError flexible
Type: uint32
Defined in fuchsia.component.runtime/capabilities.fidl
| Name | Value | Description |
|---|---|---|
NO_SUCH_CAPABILITY |
1 |
|
INVALID_NAME |
2 |
|
HANDLE_DOES_NOT_REFERENCE_CAPABILITY |
3 |
|
INVALID_CAPABILITY_TYPE |
4 |
|
UNREGISTERED_CAPABILITY |
5 |
|
INVALID_HANDLE |
6 |
|
HANDLE_ALREADY_REGISTERED |
7 |
|
INVALID_DATA |
8 |
|
INVALID_ARGS |
9 |
CapabilityType flexible
Type: uint32
Defined in fuchsia.component.runtime/capabilities.fidl
| Name | Value | Description |
|---|---|---|
CONNECTOR |
1 |
|
DIR_CONNECTOR |
2 |
|
DICTIONARY |
3 |
|
DATA |
4 |
|
CONNECTOR_ROUTER |
5 |
|
DIR_CONNECTOR_ROUTER |
6 |
|
DICTIONARY_ROUTER |
7 |
|
DATA_ROUTER |
8 |
|
INSTANCE_TOKEN |
9 |
RouterError flexible
Type: uint32
Defined in fuchsia.component.runtime/capabilities.fidl
The error values returned when a route operation fails.
| Name | Value | Description |
|---|---|---|
NOT_FOUND |
1 |
The router failed to find the capability. |
INVALID_ARGS |
2 |
The arguments provided to the function are invalid. |
NOT_SUPPORTED |
3 |
The operation is not supported. |
INTERNAL |
4 |
An internal error occurred. |
UNKNOWN |
5 |
An unknown error occurred. |
RouterResponse flexible
Type: uint32
Defined in fuchsia.component.runtime/capabilities.fidl
The error values returned when a route operation succeeds.
| Name | Value | Description |
|---|---|---|
SUCCESS |
1 |
The server end has been connected to a valid object. |
UNAVAILABLE |
2 |
The capability was marked as unavailable. |
TABLES
CapabilitiesDictionaryRemoveRequest resource
Defined in fuchsia.component.runtime/capabilities.fidl
| Ordinal | Field | Type | Description |
|---|---|---|---|
1 |
dictionary |
handle<eventpair>
|
|
2 |
key |
fuchsia.component.decl/name
|
|
3 |
value |
handle<eventpair>
|
CapabilitiesDirConnectorOpenRequest resource
Defined in fuchsia.component.runtime/capabilities.fidl
| Ordinal | Field | Type | Description |
|---|---|---|---|
1 |
dir_connector |
handle<eventpair>
|
|
2 |
channel |
server_end:fuchsia.io/Directory
|
|
3 |
flags |
fuchsia.io/Flags
|
|
4 |
path |
fuchsia.io/Path
|
RouteRequest
Defined in fuchsia.component.runtime/capabilities.fidl
Contains metadata about the requested capability, which can be used to modify the returned capability (such as reducing directory rights), or used to reject the route (i.e. return an error).
| Ordinal | Field | Type | Description |
|---|---|---|---|
1 |
build_type_name |
fuchsia.component.decl/name
|
The build-time type of the capability that's being routed (e.g. protocol, storage, or resolver). Should always be set. |
2 |
availability |
fuchsia.component.decl/Availability
|
The availability of the requested capability. Should always be set. |
3 |
directory_rights |
fuchsia.io/Flags
|
The rights the directory is being requested at. Should be set when routing a directory or storage capability. |
4 |
directory_intermediate_rights |
fuchsia.io/Flags
|
The rights associated with the previous declaration in a multi-step route. Should be set when routing a directory or storage capability. |
5 |
inherit_rights |
bool
|
Whether or not directory rights should be inherited from the capability declaration if they are not present in an expose or offer declaration. Must be set when routing a directory or storage capability. |
6 |
sub_directory_path |
string:1024
|
The sub-path at which a directory capability should be connected. May be set when routing a directory or storage capability. |
7 |
isolated_storage_path |
string:1024
|
The path within the backing directory that a used storage capability will be connected to. |
8 |
storage_sub_directory_path |
string:1024
|
The subdirectory inside of the storage backing directory's subdirectory to use, if any. The difference between this and sub_directory_path is that a) the sub_directory_path generically refers to the subdirectory of a directory capability, and b) the sub_directory_path is appended to the isolated_storage_path first (which is a path into a backing directory), and component_manager will create the storage_sub_directory_path if it doesn't exist but won't create sub_directory_path. Accordingly, the complete path to a storage capability within the backing directory is {isolated_storage_path}/{sub_directory_path}/{storage_sub_directory_path}. Should be set when routing a storage capability. |
9 |
storage_source_moniker |
string:4096
|
The moniker of a component that provides a storage build-time capability. Should be set when routing the backing directory of a storage capability. |
10 |
event_stream_scope_moniker |
string:4096
|
The moniker of the component that has set a scope on an event stream. May be set when routing an event stream. |
11 |
event_stream_scope |
vector<fuchsia.component.decl/Ref>
|
The scope(s) from which the consumer of this event stream will be able
to observe events. Relative to the |
12 |
skip_policy_checks |
bool
|
Disables allowlist checking for the routed capability. This flag is ignored when not running on host, and is necessary for performing checks on intermediate routes in scrutiny (e.g. routing from an "offer" and not a "use"). May be set for any build-time capability type. |
UNIONS
Capabilities_CapabilityAssociateHandle_Result strict
Defined in fuchsia.component.runtime/capabilities.fidl
| Ordinal | Variant | Type | Description |
|---|---|---|---|
1 |
response |
Capabilities_CapabilityAssociateHandle_Response
|
|
2 |
err |
CapabilitiesError
|
|
3 |
framework_err |
internal
|
Capabilities_ConnectorCreate_Result strict
Defined in fuchsia.component.runtime/capabilities.fidl
| Ordinal | Variant | Type | Description |
|---|---|---|---|
1 |
response |
Capabilities_ConnectorCreate_Response
|
|
2 |
err |
CapabilitiesError
|
|
3 |
framework_err |
internal
|
Capabilities_ConnectorOpen_Result strict
Defined in fuchsia.component.runtime/capabilities.fidl
| Ordinal | Variant | Type | Description |
|---|---|---|---|
1 |
response |
Capabilities_ConnectorOpen_Response
|
|
2 |
err |
CapabilitiesError
|
|
3 |
framework_err |
internal
|
Capabilities_ConnectorRouterCreate_Result strict
Defined in fuchsia.component.runtime/capabilities.fidl
| Ordinal | Variant | Type | Description |
|---|---|---|---|
1 |
response |
Capabilities_ConnectorRouterCreate_Response
|
|
2 |
err |
CapabilitiesError
|
|
3 |
framework_err |
internal
|
Capabilities_ConnectorRouterRoute_Result strict
Defined in fuchsia.component.runtime/capabilities.fidl
| Ordinal | Variant | Type | Description |
|---|---|---|---|
1 |
response |
Capabilities_ConnectorRouterRoute_Response
|
|
2 |
err |
zx/Status
|
|
3 |
framework_err |
internal
|
Capabilities_DataCreate_Result strict
Defined in fuchsia.component.runtime/capabilities.fidl
| Ordinal | Variant | Type | Description |
|---|---|---|---|
1 |
response |
Capabilities_DataCreate_Response
|
|
2 |
err |
CapabilitiesError
|
|
3 |
framework_err |
internal
|
Capabilities_DataGet_Result strict
Defined in fuchsia.component.runtime/capabilities.fidl
| Ordinal | Variant | Type | Description |
|---|---|---|---|
1 |
response |
Data
|
|
2 |
err |
CapabilitiesError
|
|
3 |
framework_err |
internal
|
Capabilities_DataRouterCreate_Result strict
Defined in fuchsia.component.runtime/capabilities.fidl
| Ordinal | Variant | Type | Description |
|---|---|---|---|
1 |
response |
Capabilities_DataRouterCreate_Response
|
|
2 |
err |
CapabilitiesError
|
|
3 |
framework_err |
internal
|
Capabilities_DataRouterRoute_Result strict
Defined in fuchsia.component.runtime/capabilities.fidl
| Ordinal | Variant | Type | Description |
|---|---|---|---|
1 |
response |
Capabilities_DataRouterRoute_Response
|
|
2 |
err |
zx/Status
|
|
3 |
framework_err |
internal
|
Capabilities_DictionaryCreate_Result strict
Defined in fuchsia.component.runtime/capabilities.fidl
| Ordinal | Variant | Type | Description |
|---|---|---|---|
1 |
response |
Capabilities_DictionaryCreate_Response
|
|
2 |
err |
CapabilitiesError
|
|
3 |
framework_err |
internal
|
Capabilities_DictionaryGet_Result strict resource
Defined in fuchsia.component.runtime/capabilities.fidl
| Ordinal | Variant | Type | Description |
|---|---|---|---|
1 |
response |
Capabilities_DictionaryGet_Response
|
|
2 |
err |
CapabilitiesError
|
|
3 |
framework_err |
internal
|
Capabilities_DictionaryInsert_Result strict
Defined in fuchsia.component.runtime/capabilities.fidl
| Ordinal | Variant | Type | Description |
|---|---|---|---|
1 |
response |
Capabilities_DictionaryInsert_Response
|
|
2 |
err |
CapabilitiesError
|
|
3 |
framework_err |
internal
|
Capabilities_DictionaryIterateKeys_Result strict
Defined in fuchsia.component.runtime/capabilities.fidl
| Ordinal | Variant | Type | Description |
|---|---|---|---|
1 |
response |
Capabilities_DictionaryIterateKeys_Response
|
|
2 |
err |
CapabilitiesError
|
|
3 |
framework_err |
internal
|
Capabilities_DictionaryRemove_Result strict resource
Defined in fuchsia.component.runtime/capabilities.fidl
| Ordinal | Variant | Type | Description |
|---|---|---|---|
1 |
response |
Capabilities_DictionaryRemove_Response
|
|
2 |
err |
CapabilitiesError
|
|
3 |
framework_err |
internal
|
Capabilities_DictionaryRouterCreate_Result strict
Defined in fuchsia.component.runtime/capabilities.fidl
| Ordinal | Variant | Type | Description |
|---|---|---|---|
1 |
response |
Capabilities_DictionaryRouterCreate_Response
|
|
2 |
err |
CapabilitiesError
|
|
3 |
framework_err |
internal
|
Capabilities_DictionaryRouterRoute_Result strict
Defined in fuchsia.component.runtime/capabilities.fidl
| Ordinal | Variant | Type | Description |
|---|---|---|---|
1 |
response |
Capabilities_DictionaryRouterRoute_Response
|
|
2 |
err |
zx/Status
|
|
3 |
framework_err |
internal
|
Capabilities_DirConnectorCreate_Result strict
Defined in fuchsia.component.runtime/capabilities.fidl
| Ordinal | Variant | Type | Description |
|---|---|---|---|
1 |
response |
Capabilities_DirConnectorCreate_Response
|
|
2 |
err |
CapabilitiesError
|
|
3 |
framework_err |
internal
|
Capabilities_DirConnectorOpen_Result strict
Defined in fuchsia.component.runtime/capabilities.fidl
| Ordinal | Variant | Type | Description |
|---|---|---|---|
1 |
response |
Capabilities_DirConnectorOpen_Response
|
|
2 |
err |
CapabilitiesError
|
|
3 |
framework_err |
internal
|
Capabilities_DirConnectorRouterCreate_Result strict
Defined in fuchsia.component.runtime/capabilities.fidl
| Ordinal | Variant | Type | Description |
|---|---|---|---|
1 |
response |
Capabilities_DirConnectorRouterCreate_Response
|
|
2 |
err |
CapabilitiesError
|
|
3 |
framework_err |
internal
|
Capabilities_DirConnectorRouterRoute_Result strict
Defined in fuchsia.component.runtime/capabilities.fidl
| Ordinal | Variant | Type | Description |
|---|---|---|---|
1 |
response |
Capabilities_DirConnectorRouterRoute_Response
|
|
2 |
err |
zx/Status
|
|
3 |
framework_err |
internal
|
Capabilities_InstanceTokenCreate_Result strict
Defined in fuchsia.component.runtime/capabilities.fidl
| Ordinal | Variant | Type | Description |
|---|---|---|---|
1 |
response |
Capabilities_InstanceTokenCreate_Response
|
|
2 |
err |
CapabilitiesError
|
|
3 |
framework_err |
internal
|
ConnectorRouter_Route_Result strict
Defined in fuchsia.component.runtime/capabilities.fidl
| Ordinal | Variant | Type | Description |
|---|---|---|---|
1 |
response |
ConnectorRouter_Route_Response
|
|
2 |
err |
zx/Status
|
|
3 |
framework_err |
internal
|
Data flexible
Defined in fuchsia.component.runtime/capabilities.fidl
Static data which may be put in a dictionary or returned by a router. This
is useful for setting values in the metadata of a RouteRequest.
| Ordinal | Variant | Type | Description |
|---|---|---|---|
1 |
bytes |
vector<uint8>:8192
|
|
2 |
string |
string:8192
|
|
3 |
int64 |
int64
|
|
4 |
uint64 |
uint64
|
DataRouter_Route_Result strict
Defined in fuchsia.component.runtime/capabilities.fidl
| Ordinal | Variant | Type | Description |
|---|---|---|---|
1 |
response |
DataRouter_Route_Response
|
|
2 |
err |
zx/Status
|
|
3 |
framework_err |
internal
|
DictionaryRouter_Route_Result strict
Defined in fuchsia.component.runtime/capabilities.fidl
| Ordinal | Variant | Type | Description |
|---|---|---|---|
1 |
response |
DictionaryRouter_Route_Response
|
|
2 |
err |
zx/Status
|
|
3 |
framework_err |
internal
|
DirConnectorRouter_Route_Result strict
Defined in fuchsia.component.runtime/capabilities.fidl
| Ordinal | Variant | Type | Description |
|---|---|---|---|
1 |
response |
DirConnectorRouter_Route_Response
|
|
2 |
err |
zx/Status
|
|
3 |
framework_err |
internal
|
CONSTANTS
| Name | Value | Type | Description |
|---|---|---|---|
| MAX_DATA_LENGTH |
8192
|
uint32 |
Added: HEAD
|