class PlayerInfoDelta

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

When emitted, fields that have changed should be set.

The first emission to a new client should be a snapshot.

Public Methods

void PlayerInfoDelta (Storage_ storage)
void PlayerInfoDelta ()

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

void PlayerInfoDelta (PlayerInfoDelta && )

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

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

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

PlayerInfoDelta & operator= (const PlayerInfoDelta & other)
bool operator== (const PlayerInfoDelta & other)
bool operator!= (const PlayerInfoDelta & other)
bool IsEmpty ()
const std::optional<bool> & local ()

Whether the entry point for the media into our device network is the

local machine; this should be true if this is the device streaming

from a music service, but false or omitted if this machine is just

receiving an audio stream to act as a speaker.

If omitted, the value is unchanged. Initially, this value is `true`.

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

Whether the entry point for the media into our device network is the

local machine; this should be true if this is the device streaming

from a music service, but false or omitted if this machine is just

receiving an audio stream to act as a speaker.

If omitted, the value is unchanged. Initially, this value is `true`.

PlayerInfoDelta & local (std::optional<bool> value)

Whether the entry point for the media into our device network is the

local machine; this should be true if this is the device streaming

from a music service, but false or omitted if this machine is just

receiving an audio stream to act as a speaker.

If omitted, the value is unchanged. Initially, this value is `true`.

const std::optional< ::fuchsia_media_sessions2::PlayerStatus> & player_status ()

The status of the player.

If omitted, all constituent values are unchanged. If a field within `PlayerStatus` is

omitted, its value is unchanged. Initial values are indicated for each field in

`player_status`.

::std::optional< ::fuchsia_media_sessions2::PlayerStatus> & player_status ()

The status of the player.

If omitted, all constituent values are unchanged. If a field within `PlayerStatus` is

omitted, its value is unchanged. Initial values are indicated for each field in

`player_status`.

PlayerInfoDelta & player_status (std::optional< ::fuchsia_media_sessions2::PlayerStatus> value)

The status of the player.

If omitted, all constituent values are unchanged. If a field within `PlayerStatus` is

omitted, its value is unchanged. Initial values are indicated for each field in

`player_status`.

const std::optional< ::fuchsia_media::Metadata> & metadata ()

The metadata of the playing media.

If omitted, the metadata is unchanged. Initially, there is no metadata.

::std::optional< ::fuchsia_media::Metadata> & metadata ()

The metadata of the playing media.

If omitted, the metadata is unchanged. Initially, there is no metadata.

PlayerInfoDelta & metadata (std::optional< ::fuchsia_media::Metadata> value)

The metadata of the playing media.

If omitted, the metadata is unchanged. Initially, there is no metadata.

const std::optional< ::std::vector< ::fuchsia_media_sessions2::MediaImage>> & media_images ()

The images associated with the playing media.

If omitted, the media images are unchanged. An empty

vector indicates that there are no media images, which is also the initial state.

::std::optional< ::std::vector< ::fuchsia_media_sessions2::MediaImage>> & media_images ()

The images associated with the playing media.

If omitted, the media images are unchanged. An empty

vector indicates that there are no media images, which is also the initial state.

PlayerInfoDelta & media_images (std::optional< ::std::vector< ::fuchsia_media_sessions2::MediaImage>> value)

The images associated with the playing media.

If omitted, the media images are unchanged. An empty

vector indicates that there are no media images, which is also the initial state.

const std::optional< ::fuchsia_media_sessions2::PlayerCapabilities> & player_capabilities ()

The capabilities of the player.

If omitted, the capabilities are unchanged. Initially, the player is assumed to have no

capabilities.

::std::optional< ::fuchsia_media_sessions2::PlayerCapabilities> & player_capabilities ()

The capabilities of the player.

If omitted, the capabilities are unchanged. Initially, the player is assumed to have no

capabilities.

PlayerInfoDelta & player_capabilities (std::optional< ::fuchsia_media_sessions2::PlayerCapabilities> value)

The capabilities of the player.

If omitted, the capabilities are unchanged. Initially, the player is assumed to have no

capabilities.

const std::optional< ::fuchsia_media_sessions2::InterruptionBehavior> & interruption_behavior ()

The behavior the player would like to engage in when interrupted

by something, such as an alarm.

If omitted, the behavior is unchanged. Initially, the value is `NONE`.

::std::optional< ::fuchsia_media_sessions2::InterruptionBehavior> & interruption_behavior ()

The behavior the player would like to engage in when interrupted

by something, such as an alarm.

If omitted, the behavior is unchanged. Initially, the value is `NONE`.

PlayerInfoDelta & interruption_behavior (std::optional< ::fuchsia_media_sessions2::InterruptionBehavior> value)

The behavior the player would like to engage in when interrupted

by something, such as an alarm.

If omitted, the behavior is unchanged. Initially, the value is `NONE`.

void PlayerInfoDelta (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )

Friends

class MemberVisitor
class NaturalTableCodingTraits