class Program
Defined at line 163 of file fidling/gen/sdk/fidl/fuchsia.developer.console/fuchsia.developer.console/cpp/fidl/fuchsia.developer.console/cpp/natural_types.h
Public Methods
void Program (Program && other)
Program & operator= (Program && other)
bool IsUnknown ()
::fuchsia_developer_console::Program::Tag Which ()
Program WithDefaultShell (::fuchsia_developer_console::Empty val)
const ::fidl::internal::UnionMemberView<1, Storage_> default_shell ()
::fidl::internal::UnionMemberView<1, Storage_> default_shell ()
Program & default_shell (::fuchsia_developer_console::Empty value)
The default developer shell is launched.
The default shell is controlled by product configuration. Thus, when
selecting this program the server automatically fills:
- environment PATH variable.
- arguments for interactive vs not interactive sessions based on
arguments given to `LaunchOptions`.
Program WithFromPackage (::fuchsia_developer_console::PackageProgram val)
const ::fidl::internal::UnionMemberView<2, Storage_> from_package ()
::fidl::internal::UnionMemberView<2, Storage_> from_package ()
Program & from_package (::fuchsia_developer_console::PackageProgram value)
The provided program from some package is launched.
When `from_package` is used the provided `package` is automatically
added to the namespace under `/pkg`.
void Program (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )
Enumerations
enum Tag
| Name | Value |
|---|---|
| kDefaultShell | 1 |
| kFromPackage | 2 |
| _do_not_handle_this__write_a_default_case_instead | ::std::numeric_limits<::fidl_union_tag_t>::max() |
TODO: share union tag types between wire
&
natural.
Defined at line 171 of file fidling/gen/sdk/fidl/fuchsia.developer.console/fuchsia.developer.console/cpp/fidl/fuchsia.developer.console/cpp/natural_types.h
Friends
class NaturalUnionCodingTraits