class StreamTime
Defined at line 145 of file fidling/gen/sdk/fidl/fuchsia.media2/fuchsia.media2/cpp/fidl/fuchsia.media2/cpp/wire_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 ()
void StreamTime (const StreamTime & )
Defined at line 149 of file fidling/gen/sdk/fidl/fuchsia.media2/fuchsia.media2/cpp/fidl/fuchsia.media2/cpp/wire_types.h
StreamTime & operator= (const StreamTime & )
Defined at line 150 of file fidling/gen/sdk/fidl/fuchsia.media2/fuchsia.media2/cpp/fidl/fuchsia.media2/cpp/wire_types.h
void StreamTime (StreamTime && )
Defined at line 151 of file fidling/gen/sdk/fidl/fuchsia.media2/fuchsia.media2/cpp/fidl/fuchsia.media2/cpp/wire_types.h
StreamTime & operator= (StreamTime && )
Defined at line 152 of file fidling/gen/sdk/fidl/fuchsia.media2/fuchsia.media2/cpp/fidl/fuchsia.media2/cpp/wire_types.h
bool IsUnknown ()
Defined at line 159 of file fidling/gen/sdk/fidl/fuchsia.media2/fuchsia.media2/cpp/fidl/fuchsia.media2/cpp/wire_types.h
bool has_invalid_tag ()
bool is_stream_time ()
StreamTime WithStreamTime (::fidl::ObjectView<int64_t> val)
Stream time expressed as a duration (nanoseconds).
template <typename... Args>
StreamTime WithStreamTime (::fidl::AnyArena & allocator, Args &&... args)
Stream time expressed as a duration (nanoseconds).
Defined at line 172 of file fidling/gen/sdk/fidl/fuchsia.media2/fuchsia.media2/cpp/fidl/fuchsia.media2/cpp/wire_types.h
int64_t & stream_time ()
Stream time expressed as a duration (nanoseconds).
const int64_t & stream_time ()
Stream time expressed as a duration (nanoseconds).
bool is_packet_timestamp ()
StreamTime WithPacketTimestamp (::fidl::ObjectView<int64_t> val)
Stream time expressed in the same timestamps that are used on the
relevant packets.
template <typename... Args>
StreamTime WithPacketTimestamp (::fidl::AnyArena & allocator, Args &&... args)
Stream time expressed in the same timestamps that are used on the
relevant packets.
Defined at line 192 of file fidling/gen/sdk/fidl/fuchsia.media2/fuchsia.media2/cpp/fidl/fuchsia.media2/cpp/wire_types.h
int64_t & packet_timestamp ()
Stream time expressed in the same timestamps that are used on the
relevant packets.
const int64_t & packet_timestamp ()
Stream time expressed in the same timestamps that are used on the
relevant packets.
::fuchsia_media2::wire::StreamTime::Tag Which ()
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() |
Defined at line 154 of file fidling/gen/sdk/fidl/fuchsia.media2/fuchsia.media2/cpp/fidl/fuchsia.media2/cpp/wire_types.h