class AudioConsumerStatus

Defined at line 12781 of file fidling/gen/sdk/fidl/fuchsia.media/fuchsia.media/cpp/fidl/fuchsia.media/cpp/natural_types.h

Represents the status of the consumer. In the initial status, `error` and

`presentation_timeline` are absent. The lead time fields are always present.

Public Methods

void AudioConsumerStatus (Storage_ storage)
void AudioConsumerStatus ()

Defined at line 12786 of file fidling/gen/sdk/fidl/fuchsia.media/fuchsia.media/cpp/fidl/fuchsia.media/cpp/natural_types.h

void AudioConsumerStatus (AudioConsumerStatus && )

Defined at line 12787 of file fidling/gen/sdk/fidl/fuchsia.media/fuchsia.media/cpp/fidl/fuchsia.media/cpp/natural_types.h

void AudioConsumerStatus (const AudioConsumerStatus & other)
AudioConsumerStatus & operator= (AudioConsumerStatus && )

Defined at line 12788 of file fidling/gen/sdk/fidl/fuchsia.media/fuchsia.media/cpp/fidl/fuchsia.media/cpp/natural_types.h

AudioConsumerStatus & operator= (const AudioConsumerStatus & other)
bool operator== (const AudioConsumerStatus & other)
bool operator!= (const AudioConsumerStatus & other)
bool IsEmpty ()
const std::optional< ::fuchsia_media::AudioConsumerError> & error ()

If present, indicates an error condition currently in effect. Absent if no error.

::std::optional< ::fuchsia_media::AudioConsumerError> & error ()

If present, indicates an error condition currently in effect. Absent if no error.

AudioConsumerStatus & error (std::optional< ::fuchsia_media::AudioConsumerError> value)

If present, indicates an error condition currently in effect. Absent if no error.

const std::optional< ::fuchsia_media::TimelineFunction> & presentation_timeline ()

If present, indicates the current relationship between the presentation timeline

and local monotonic clock, both in nanosecond units. If not present,

indicates there is no relationship. Absent initially.

'Presentation timeline' refers to the `pts` (presentation timestamp) values on the packets.

This timeline function can be used to determine the local monotonic clock time that a

packet will be presented based on that packet's `pts` value.

::std::optional< ::fuchsia_media::TimelineFunction> & presentation_timeline ()

If present, indicates the current relationship between the presentation timeline

and local monotonic clock, both in nanosecond units. If not present,

indicates there is no relationship. Absent initially.

'Presentation timeline' refers to the `pts` (presentation timestamp) values on the packets.

This timeline function can be used to determine the local monotonic clock time that a

packet will be presented based on that packet's `pts` value.

AudioConsumerStatus & presentation_timeline (std::optional< ::fuchsia_media::TimelineFunction> value)

If present, indicates the current relationship between the presentation timeline

and local monotonic clock, both in nanosecond units. If not present,

indicates there is no relationship. Absent initially.

'Presentation timeline' refers to the `pts` (presentation timestamp) values on the packets.

This timeline function can be used to determine the local monotonic clock time that a

packet will be presented based on that packet's `pts` value.

const std::optional<uint64_t> & min_lead_time ()

Indicates the minimum lead time in nanoseconds supported by this

`AudioConsumer`. Or in other words, how small of a gap between the

`media_time` provided to `AudioConsumer.Start` and the pts on the first

packet can be. Values outside this range will be clipped.

::std::optional<uint64_t> & min_lead_time ()

Indicates the minimum lead time in nanoseconds supported by this

`AudioConsumer`. Or in other words, how small of a gap between the

`media_time` provided to `AudioConsumer.Start` and the pts on the first

packet can be. Values outside this range will be clipped.

AudioConsumerStatus & min_lead_time (std::optional<uint64_t> value)

Indicates the minimum lead time in nanoseconds supported by this

`AudioConsumer`. Or in other words, how small of a gap between the

`media_time` provided to `AudioConsumer.Start` and the pts on the first

packet can be. Values outside this range will be clipped.

const std::optional<uint64_t> & max_lead_time ()

Indicates the maximum lead time in nanoseconds supported by this

`AudioConsumer`. Or in other words, how large of a gap between the

`media_time` provided to `AudioConsumer.Start` and the pts on the first

packet can be. Values outside this range will be clipped.

::std::optional<uint64_t> & max_lead_time ()

Indicates the maximum lead time in nanoseconds supported by this

`AudioConsumer`. Or in other words, how large of a gap between the

`media_time` provided to `AudioConsumer.Start` and the pts on the first

packet can be. Values outside this range will be clipped.

AudioConsumerStatus & max_lead_time (std::optional<uint64_t> value)

Indicates the maximum lead time in nanoseconds supported by this

`AudioConsumer`. Or in other words, how large of a gap between the

`media_time` provided to `AudioConsumer.Start` and the pts on the first

packet can be. Values outside this range will be clipped.

void AudioConsumerStatus (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )

Friends

class MemberVisitor
class NaturalTableCodingTraits