Google is committed to advancing racial equity for Black communities. See how.

fuchsia.component

PROTOCOLS

Binder

Defined in fuchsia.component/binder.fidl

A framework-provided protocol that allows components that use it to bind to the component that exposes it. The act of connecting to this protocol will trigger the bind. Thus, this protocol contains no methods. For more details on binding, see https://fuchsia.dev/fuchsia-src/concepts/components/v2/lifecycle#binding.

When a component connects to protocol, the component exposing this capability will be started if it's not already running. Upon a failure to start, the component framework will close the server end of the channel with a zx.status epitaph.

Note: The component doesn't need to serve this protocol, it is implemented by the framework.

ENUMS

Error strict

Type: uint32

Defined in fuchsia.component/error.fidl

Standard error codes for component framework protocols.

NameValueDescription
INTERNAL 1

Component manager encountered an otherwise unspecified error while performing the operation.

INVALID_ARGUMENTS 2

At least one argument had an invalid format.

UNSUPPORTED 3

The feature is not yet supported.

ACCESS_DENIED 4

The caller did not have permission to perform the specified operation, or one of the handles provided to the call had insufficient rights.

INSTANCE_NOT_FOUND 5

The component instance was not found.

INSTANCE_ALREADY_EXISTS 6

The component instance already exists.

INSTANCE_CANNOT_START 7

The component instance could not be started.

INSTANCE_CANNOT_RESOLVE 8

Failed to resolve the component's declaration.

COLLECTION_NOT_FOUND 9

The component collection was not found.

RESOURCE_UNAVAILABLE 10

There were insufficient resources to perform the operation.

INSTANCE_DIED 11

The component instance died unexpectedly.

CONSTANTS

NameValueTypeDescription
MAX_MONIKER_LENGTH 4096 uint32
MAX_NAME_LENGTH 100 uint32
MAX_NUM_EVENTS_RECEIVED 100 uint64

The maximum number of events that a receiver can listen to.

MAX_PATH_LENGTH 1024 uint32
MAX_SUBSCRIPTION_REQUESTS 2 uint32

The maximum number of requests per event subscription.

MAX_URL_SCHEME_LENGTH 100 uint32

TYPE ALIASES

NameValueDescription
name string[MAX_NAME_LENGTH]
url_scheme string[MAX_URL_SCHEME_LENGTH]