Namespaces

Enumerations

enum class EventType : uint32_t
Name Value Comments
kCapabilityRequested 1u

A capability provided by this component has been requested. The event
payload carries the request channel.

kDiscovered 3u

A component instance was discovered. This is the first stage in the lifecycle
of components. Dispatched for dynamic children when they're created, for static
children when their parent is resolved, and for the root when the component manager
starts.

kDestroyed 4u

The instance is destroyed and no longer exists.

kResolved 5u

An instance's declaration was resolved successfully for the first time.

kStarted 6u

This instance has started, according to component manager. However, if this is an
executable component, the runner has further work to do to launch the component.

kStopped 7u

An instance was stopped successfully.

kDebugStarted 8u

Similar to STARTED, except the payload will carry an eventpair that the subscriber
could use to defer the launch of the component. This allows, e.g., a debugger to
perform some setup before any processes are created.

kUnresolved 9u

An instance was unresolved successfully.

These EventTypes are used for the EventStream protocol.

They are FIDL versions of the EventType enum in hooks.rs and have

the same meaning.

Defined at line 228 of file fidling/gen/sdk/fidl/fuchsia.component/fuchsia.component/cpp/fidl/fuchsia.component/cpp/common_types.h

enum class StatusError : uint32_t
Name Value Comments
kProvider 1u

The storage provider returned an error to a request or the connection
to the provider unexpectedly closed.

kResponseInvalid 2u

Information returned by the storage provider appears to be invalid.

kStatusUnknown 3u

A call to the storage provider succeeded, but it returned unexpectedly
empty data.

kUnsupported 4u

This call is not supported.

Defined at line 377 of file fidling/gen/sdk/fidl/fuchsia.component/fuchsia.component/cpp/fidl/fuchsia.component/cpp/common_types.h

enum class DeletionError : uint32_t
Name Value Comments
kConnection 1u

There was an error sending a request to the storage provider.

kProtocol 2u

The storage provider returned an error in response to a protocol
request.

kNoneAvailable 3u

There was no storage available for deletion.

kUnsupported 4u

This call is not supported.

Defined at line 410 of file fidling/gen/sdk/fidl/fuchsia.component/fuchsia.component/cpp/fidl/fuchsia.component/cpp/common_types.h

Records