class MediumSpecificStreamType
Defined at line 12058 of file fidling/gen/sdk/fidl/fuchsia.media/fuchsia.media/hlcpp/fuchsia/media/cpp/fidl.h
A union of all medium-specific stream type structs.
Public Members
static const fidl_type_t * FidlType
Public Methods
void MediumSpecificStreamType ()
void MediumSpecificStreamType (MediumSpecificStreamType && )
MediumSpecificStreamType WithAudio (::fuchsia::media::AudioStreamType && )
MediumSpecificStreamType WithVideo (::fuchsia::media::VideoStreamType && )
MediumSpecificStreamType WithText (::fuchsia::media::TextStreamType && )
MediumSpecificStreamType WithSubpicture (::fuchsia::media::SubpictureStreamType && )
::std::unique_ptr<MediumSpecificStreamType> New ()
void Encode (::fidl::Encoder * encoder, size_t offset, std::optional< ::fidl::HandleInformation> maybe_handle_info)
void Decode (::fidl::Decoder * _decoder, MediumSpecificStreamType * value, size_t offset)
zx_status_t Clone (MediumSpecificStreamType * result)
bool has_invalid_tag ()
Defined at line 12089 of file fidling/gen/sdk/fidl/fuchsia.media/fuchsia.media/hlcpp/fuchsia/media/cpp/fidl.h
bool is_audio ()
Defined at line 12093 of file fidling/gen/sdk/fidl/fuchsia.media/fuchsia.media/hlcpp/fuchsia/media/cpp/fidl.h
::fuchsia::media::AudioStreamType & audio ()
Defined at line 12095 of file fidling/gen/sdk/fidl/fuchsia.media/fuchsia.media/hlcpp/fuchsia/media/cpp/fidl.h
const ::fuchsia::media::AudioStreamType & audio ()
Defined at line 12100 of file fidling/gen/sdk/fidl/fuchsia.media/fuchsia.media/hlcpp/fuchsia/media/cpp/fidl.h
bool is_video ()
Defined at line 12106 of file fidling/gen/sdk/fidl/fuchsia.media/fuchsia.media/hlcpp/fuchsia/media/cpp/fidl.h
void ~MediumSpecificStreamType ()
MediumSpecificStreamType & operator= (MediumSpecificStreamType && )
MediumSpecificStreamType & set_audio (::fuchsia::media::AudioStreamType value)
MediumSpecificStreamType & set_video (::fuchsia::media::VideoStreamType value)
::fuchsia::media::VideoStreamType & video ()
Defined at line 12108 of file fidling/gen/sdk/fidl/fuchsia.media/fuchsia.media/hlcpp/fuchsia/media/cpp/fidl.h
const ::fuchsia::media::VideoStreamType & video ()
Defined at line 12113 of file fidling/gen/sdk/fidl/fuchsia.media/fuchsia.media/hlcpp/fuchsia/media/cpp/fidl.h
bool is_text ()
Defined at line 12119 of file fidling/gen/sdk/fidl/fuchsia.media/fuchsia.media/hlcpp/fuchsia/media/cpp/fidl.h
MediumSpecificStreamType & set_text (::fuchsia::media::TextStreamType value)
::fuchsia::media::TextStreamType & text ()
Defined at line 12121 of file fidling/gen/sdk/fidl/fuchsia.media/fuchsia.media/hlcpp/fuchsia/media/cpp/fidl.h
const ::fuchsia::media::TextStreamType & text ()
Defined at line 12126 of file fidling/gen/sdk/fidl/fuchsia.media/fuchsia.media/hlcpp/fuchsia/media/cpp/fidl.h
bool is_subpicture ()
Defined at line 12132 of file fidling/gen/sdk/fidl/fuchsia.media/fuchsia.media/hlcpp/fuchsia/media/cpp/fidl.h
MediumSpecificStreamType & set_subpicture (::fuchsia::media::SubpictureStreamType value)
::fuchsia::media::SubpictureStreamType & subpicture ()
Defined at line 12134 of file fidling/gen/sdk/fidl/fuchsia.media/fuchsia.media/hlcpp/fuchsia/media/cpp/fidl.h
const ::fuchsia::media::SubpictureStreamType & subpicture ()
Defined at line 12139 of file fidling/gen/sdk/fidl/fuchsia.media/fuchsia.media/hlcpp/fuchsia/media/cpp/fidl.h
::fuchsia::media::MediumSpecificStreamType::Tag Which ()
Defined at line 12145 of file fidling/gen/sdk/fidl/fuchsia.media/fuchsia.media/hlcpp/fuchsia/media/cpp/fidl.h
fidl_xunion_tag_t Ordinal ()
You probably want to use Which() method instead of Ordinal(). Use Ordinal() only when you need
access to the raw integral ordinal value.
Defined at line 12153 of file fidling/gen/sdk/fidl/fuchsia.media/fuchsia.media/hlcpp/fuchsia/media/cpp/fidl.h
Enumerations
enum Tag
| Name | Value |
|---|---|
| kAudio | 1 |
| kVideo | 2 |
| kText | 3 |
| kSubpicture | 4 |
| Invalid | ::std::numeric_limits<::fidl_union_tag_t>::max() |
Defined at line 12073 of file fidling/gen/sdk/fidl/fuchsia.media/fuchsia.media/hlcpp/fuchsia/media/cpp/fidl.h
Friends
class Equality