class ObserverWatchPlugStateResult

Defined at line 3598 of file fidling/gen/sdk/fidl/fuchsia.audio.device/fuchsia.audio.device/cpp/fidl/fuchsia.audio.device/cpp/natural_types.h

Public Methods

void ObserverWatchPlugStateResult (ObserverWatchPlugStateResult && other)
ObserverWatchPlugStateResult & operator= (ObserverWatchPlugStateResult && other)
void ObserverWatchPlugStateResult (const ObserverWatchPlugStateResult & other)
ObserverWatchPlugStateResult & operator= (const ObserverWatchPlugStateResult & other)
bool operator== (const ObserverWatchPlugStateResult & other)
bool operator!= (const ObserverWatchPlugStateResult & other)
::fuchsia_audio_device::ObserverWatchPlugStateResult::Tag Which ()
ObserverWatchPlugStateResult WithResponse (::fuchsia_audio_device::ObserverWatchPlugStateResponse val)
const ::fidl::internal::UnionMemberView<1, Storage_> response ()
::fidl::internal::UnionMemberView<1, Storage_> response ()
ObserverWatchPlugStateResult & response (::fuchsia_audio_device::ObserverWatchPlugStateResponse value)

Sets the union to hold the response member.

ObserverWatchPlugStateResult WithErr (::fuchsia_audio_device::ObserverWatchPlugStateError val)
const ::fidl::internal::UnionMemberView<2, Storage_> err ()
::fidl::internal::UnionMemberView<2, Storage_> err ()
ObserverWatchPlugStateResult & err (::fuchsia_audio_device::ObserverWatchPlugStateError value)

Sets the union to hold the err member.

ObserverWatchPlugStateResult WithFrameworkErr (::fidl::internal::FrameworkErr val)
const ::fidl::internal::UnionMemberView<3, Storage_> framework_err ()
::fidl::internal::UnionMemberView<3, Storage_> framework_err ()
ObserverWatchPlugStateResult & framework_err (::fidl::internal::FrameworkErr value)

Sets the union to hold the framework_err member.

void ObserverWatchPlugStateResult (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )

Enumerations

enum Tag
Name Value
kResponse 1
kErr 2
kFrameworkErr 3

TODO: share union tag types between wire

&

natural.

Defined at line 3609 of file fidling/gen/sdk/fidl/fuchsia.audio.device/fuchsia.audio.device/cpp/fidl/fuchsia.audio.device/cpp/natural_types.h

Friends

class NaturalUnionCodingTraits