class Builder
Defined at line 11378 of file fidling/gen/sdk/fidl/fuchsia.component.test/fuchsia.component.test/hlcpp/fuchsia/component/test/cpp/fidl.h
Public Members
static const char[] Name_
Public Methods
void ~Builder ()
void Build (::fidl::InterfaceHandle< ::fuchsia::component::runner::ComponentRunner> runner, BuildCallback callback)
Assembles the realm being constructed and returns the URL for the root
component in the realm, which may then be used to create a new component
in any collection where fuchsia-test-component is properly set up. Once
this is called, any Realm channels for the realm will no longer be
usable. The `runner` argument must be provided if the `AddLocalChild`
function has been used in this realm, as this runner channel will be
used to inform the client when to start and stop running any local
component implementations.
Errors:
- `INVALID_COMPONENT_DECL`: A component declaration failed validaiton.
- `BUILD_ALREADY_CALLED`: The `Build` function has been called multiple
times on this channel.