class PlayerStatus

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

Status of a media player.

Public Methods

bool IsEmpty ()

Returns whether no field is set.

bool HasUnknownData ()

Returns whether the table references unknown fields.

::fidl::WireTableBuilder< ::fuchsia_media_sessions2::wire::PlayerStatus> Builder (::fidl::AnyArena & arena)

Return a builder that by defaults allocates of an arena.

::fidl::WireTableExternalBuilder< ::fuchsia_media_sessions2::wire::PlayerStatus> ExternalBuilder (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_media_sessions2::wire::PlayerStatus>> frame)

Return a builder that relies on explicitly allocating |fidl::ObjectView|s.

void PlayerStatus ()

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

void PlayerStatus (const PlayerStatus & other)

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

void PlayerStatus (PlayerStatus && other)

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

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.

bool has_duration ()
::fuchsia_media_sessions2::wire::PlayerState & player_state ()

State of the player.

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

bool has_player_state ()
PlayerStatus & operator= (const PlayerStatus & other)

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

PlayerStatus & operator= (PlayerStatus && other)

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

::fuchsia_media::wire::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.

bool has_timeline_function ()
::fuchsia_media_sessions2::wire::RepeatMode & repeat_mode ()

Repeat mode of the player.

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

bool has_repeat_mode ()
bool & shuffle_on ()

Shuffle mode of the player.

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

bool has_shuffle_on ()
::fuchsia_media_sessions2::wire::ContentType & content_type ()

The type of content playing back.

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

bool has_content_type ()
::fuchsia_media_sessions2::wire::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.

bool has_error ()
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.

bool has_is_live ()
void ~PlayerStatus ()

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

Friends

class WireTableBaseBuilder
class WireTableBaseBuilder