class StreamTime
Defined at line 243 of file fidling/gen/sdk/fidl/fuchsia.media2/fuchsia.media2/cpp/fidl/fuchsia.media2/cpp/natural_types.h
Specifies a stream time either as a duration or as a packet timestamp in the
relevant timestamp units. This type is used when a transport control
operation is to define a positional offset value that is relative to the
beginning of the stream.
Public Methods
void StreamTime (StreamTime && other)
StreamTime & operator= (StreamTime && other)
void StreamTime (const StreamTime & other)
StreamTime & operator= (const StreamTime & other)
bool operator== (const StreamTime & other)
bool operator!= (const StreamTime & other)
bool IsUnknown ()
::fuchsia_media2::StreamTime::Tag Which ()
StreamTime WithStreamTime (int64_t val)
const ::fidl::internal::UnionMemberView<1, Storage_> stream_time ()
::fidl::internal::UnionMemberView<1, Storage_> stream_time ()
StreamTime & stream_time (int64_t value)
Stream time expressed as a duration (nanoseconds).
StreamTime WithPacketTimestamp (int64_t val)
const ::fidl::internal::UnionMemberView<2, Storage_> packet_timestamp ()
::fidl::internal::UnionMemberView<2, Storage_> packet_timestamp ()
StreamTime & packet_timestamp (int64_t value)
Stream time expressed in the same timestamps that are used on the
relevant packets.
void StreamTime (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )
Enumerations
enum Tag
| Name | Value |
|---|---|
| kStreamTime | 1 |
| kPacketTimestamp | 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 251 of file fidling/gen/sdk/fidl/fuchsia.media2/fuchsia.media2/cpp/fidl/fuchsia.media2/cpp/natural_types.h
Friends
class NaturalUnionCodingTraits