class MediumSpecificStreamType
Defined at line 12392 of file fidling/gen/sdk/fidl/fuchsia.media/fuchsia.media/cpp/fidl/fuchsia.media/cpp/natural_types.h
A union of all medium-specific stream type structs.
Public Methods
void MediumSpecificStreamType (MediumSpecificStreamType && other)
MediumSpecificStreamType & operator= (MediumSpecificStreamType && other)
void MediumSpecificStreamType (const MediumSpecificStreamType & other)
MediumSpecificStreamType & operator= (const MediumSpecificStreamType & other)
bool operator== (const MediumSpecificStreamType & other)
bool operator!= (const MediumSpecificStreamType & other)
::fuchsia_media::MediumSpecificStreamType::Tag Which ()
MediumSpecificStreamType WithAudio (::fuchsia_media::AudioStreamType val)
const ::fidl::internal::UnionMemberView<1, Storage_> audio ()
::fidl::internal::UnionMemberView<1, Storage_> audio ()
MediumSpecificStreamType & audio (::fuchsia_media::AudioStreamType value)
Sets the union to hold the audio member.
MediumSpecificStreamType WithVideo (::fuchsia_media::VideoStreamType val)
const ::fidl::internal::UnionMemberView<2, Storage_> video ()
::fidl::internal::UnionMemberView<2, Storage_> video ()
MediumSpecificStreamType & video (::fuchsia_media::VideoStreamType value)
Sets the union to hold the video member.
MediumSpecificStreamType WithText (::fuchsia_media::TextStreamType val)
const ::fidl::internal::UnionMemberView<3, Storage_> text ()
::fidl::internal::UnionMemberView<3, Storage_> text ()
MediumSpecificStreamType & text (::fuchsia_media::TextStreamType value)
Sets the union to hold the text member.
MediumSpecificStreamType WithSubpicture (::fuchsia_media::SubpictureStreamType val)
const ::fidl::internal::UnionMemberView<4, Storage_> subpicture ()
::fidl::internal::UnionMemberView<4, Storage_> subpicture ()
MediumSpecificStreamType & subpicture (::fuchsia_media::SubpictureStreamType value)
Sets the union to hold the subpicture member.
void MediumSpecificStreamType (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )
Enumerations
enum Tag
| Name | Value |
|---|---|
| kAudio | 1 |
| kVideo | 2 |
| kText | 3 |
| kSubpicture | 4 |
TODO: share union tag types between wire
&
natural.
Defined at line 12404 of file fidling/gen/sdk/fidl/fuchsia.media/fuchsia.media/cpp/fidl/fuchsia.media/cpp/natural_types.h
Friends
class NaturalUnionCodingTraits