class PlayerStatus

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

Status of a media player.

Public Methods

void PlayerStatus (Storage_ storage)
void PlayerStatus ()

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

void PlayerStatus (PlayerStatus && )

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

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

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

PlayerStatus & operator= (const PlayerStatus & other)
bool operator== (const PlayerStatus & other)
bool operator!= (const PlayerStatus & other)
bool IsEmpty ()
const std::optional<int64_t> & duration ()

Total duration of playing media.

If this value is omitted, the duration is unknown, not applicable or unchanged. Initially,

the duration is assumed to be unknown.

::std::optional<int64_t> & duration ()

Total duration of playing media.

If this value is omitted, the duration is unknown, not applicable or unchanged. Initially,

the duration is assumed to be unknown.

PlayerStatus & duration (std::optional<int64_t> value)

Total duration of playing media.

If this value is omitted, the duration is unknown, not applicable or unchanged. Initially,

the duration is assumed to be unknown.

const std::optional< ::fuchsia_media_sessions2::PlayerState> & player_state ()

State of the player.

If this field is omitted, the value is unchanged. Initially, the value is `IDLE`.

::std::optional< ::fuchsia_media_sessions2::PlayerState> & player_state ()

State of the player.

If this field is omitted, the value is unchanged. Initially, the value is `IDLE`.

PlayerStatus & player_state (std::optional< ::fuchsia_media_sessions2::PlayerState> value)

State of the player.

If this field is omitted, the value is unchanged. Initially, the value is `IDLE`.

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

A playback function that describes the position and rate of

play through the media as a function of `CLOCK_MONOTONIC`.

If this field is omitted, the value is unchanged. Initially, `reference_delta` is 1 and

the remaining constituent fields are 0.

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

A playback function that describes the position and rate of

play through the media as a function of `CLOCK_MONOTONIC`.

If this field is omitted, the value is unchanged. Initially, `reference_delta` is 1 and

the remaining constituent fields are 0.

PlayerStatus & timeline_function (std::optional< ::fuchsia_media::TimelineFunction> value)

A playback function that describes the position and rate of

play through the media as a function of `CLOCK_MONOTONIC`.

If this field is omitted, the value is unchanged. Initially, `reference_delta` is 1 and

the remaining constituent fields are 0.

const std::optional< ::fuchsia_media_sessions2::RepeatMode> & repeat_mode ()

Repeat mode of the player.

If this field is omitted, the value is unchanged. Initially, the value is `NONE`.

::std::optional< ::fuchsia_media_sessions2::RepeatMode> & repeat_mode ()

Repeat mode of the player.

If this field is omitted, the value is unchanged. Initially, the value is `NONE`.

PlayerStatus & repeat_mode (std::optional< ::fuchsia_media_sessions2::RepeatMode> value)

Repeat mode of the player.

If this field is omitted, the value is unchanged. Initially, the value is `NONE`.

const std::optional<bool> & shuffle_on ()

Shuffle mode of the player.

If this field is omitted, the value is unchanged. Initially, the value is false.

::std::optional<bool> & shuffle_on ()

Shuffle mode of the player.

If this field is omitted, the value is unchanged. Initially, the value is false.

PlayerStatus & shuffle_on (std::optional<bool> value)

Shuffle mode of the player.

If this field is omitted, the value is unchanged. Initially, the value is false.

const std::optional< ::fuchsia_media_sessions2::ContentType> & content_type ()

The type of content playing back.

If this field is omitted, the value is unchanged. Initially, the value is `OTHER`.

::std::optional< ::fuchsia_media_sessions2::ContentType> & content_type ()

The type of content playing back.

If this field is omitted, the value is unchanged. Initially, the value is `OTHER`.

PlayerStatus & content_type (std::optional< ::fuchsia_media_sessions2::ContentType> value)

The type of content playing back.

If this field is omitted, the value is unchanged. Initially, the value is `OTHER`.

const std::optional< ::fuchsia_media_sessions2::Error> & error ()

An error the player may have encountered.

This field is omitted unless there is an error. Once an error is indicated, it cannot

be rescinded.

::std::optional< ::fuchsia_media_sessions2::Error> & error ()

An error the player may have encountered.

This field is omitted unless there is an error. Once an error is indicated, it cannot

be rescinded.

PlayerStatus & error (std::optional< ::fuchsia_media_sessions2::Error> value)

An error the player may have encountered.

This field is omitted unless there is an error. Once an error is indicated, it cannot

be rescinded.

const std::optional<bool> & is_live ()

Whether the playing media is live (such as television or a live stream).

If this field is omitted, the value is unchanged. Initially, the value is false.

::std::optional<bool> & is_live ()

Whether the playing media is live (such as television or a live stream).

If this field is omitted, the value is unchanged. Initially, the value is false.

PlayerStatus & is_live (std::optional<bool> value)

Whether the playing media is live (such as television or a live stream).

If this field is omitted, the value is unchanged. Initially, the value is false.

void PlayerStatus (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )

Friends

class MemberVisitor
class NaturalTableCodingTraits