class Usage2

Defined at line 1983 of file fidling/gen/sdk/fidl/fuchsia.media/fuchsia.media/cpp/fidl/fuchsia.media/cpp/natural_types.h

Public Methods

void Usage2 (Usage2 && other)
Usage2 & operator= (Usage2 && other)
void Usage2 (const Usage2 & other)
Usage2 & operator= (const Usage2 & other)
bool operator== (const Usage2 & other)
bool operator!= (const Usage2 & other)
bool IsUnknown ()
::fuchsia_media::Usage2::Tag Which ()
Usage2 WithRenderUsage (::fuchsia_media::AudioRenderUsage2 val)
const ::fidl::internal::UnionMemberView<1, Storage_> render_usage ()
::fidl::internal::UnionMemberView<1, Storage_> render_usage ()
Usage2 & render_usage (::fuchsia_media::AudioRenderUsage2 value)

Sets the union to hold the render_usage member.

Usage2 WithCaptureUsage (::fuchsia_media::AudioCaptureUsage2 val)
const ::fidl::internal::UnionMemberView<2, Storage_> capture_usage ()
::fidl::internal::UnionMemberView<2, Storage_> capture_usage ()
Usage2 & capture_usage (::fuchsia_media::AudioCaptureUsage2 value)

Sets the union to hold the capture_usage member.

void Usage2 (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )

Enumerations

enum Tag
Name Value
kRenderUsage 1
kCaptureUsage 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 1993 of file fidling/gen/sdk/fidl/fuchsia.media/fuchsia.media/cpp/fidl/fuchsia.media/cpp/natural_types.h

Friends

class NaturalUnionCodingTraits