template <typename BuilderImpl>
class WireTableBaseBuilder
Defined at line 1814 of file fidling/gen/sdk/fidl/fuchsia.media.sessions2/fuchsia.media.sessions2/cpp/fidl/fuchsia.media.sessions2/cpp/wire_types.h
Public Methods
::fuchsia_media_sessions2::wire::PlayerInfoDelta Build ()
Build and return the table. The builder should not be used after this.
bool has_local ()
void clear_local ()
Clears the local field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
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`.
BuilderImpl & local (bool elem)
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`.
bool has_player_status ()
void clear_player_status ()
Clears the player_status field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
::fuchsia_media_sessions2::wire::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`.
BuilderImpl & player_status (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fuchsia_media_sessions2::wire::PlayerStatus>> elem)
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`.
bool has_metadata ()
void clear_metadata ()
Clears the metadata field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
::fuchsia_media::wire::Metadata & metadata ()
The metadata of the playing media.
If omitted, the metadata is unchanged. Initially, there is no metadata.
BuilderImpl & metadata (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fuchsia_media::wire::Metadata>> elem)
The metadata of the playing media.
If omitted, the metadata is unchanged. Initially, there is no metadata.
bool has_media_images ()
void clear_media_images ()
Clears the media_images field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
::fidl::VectorView< ::fuchsia_media_sessions2::wire::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.
BuilderImpl & media_images (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fidl::VectorView< ::fuchsia_media_sessions2::wire::MediaImage>>> elem)
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.
bool has_player_capabilities ()
void clear_player_capabilities ()
Clears the player_capabilities field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
::fuchsia_media_sessions2::wire::PlayerCapabilities & player_capabilities ()
The capabilities of the player.
If omitted, the capabilities are unchanged. Initially, the player is assumed to have no
capabilities.
BuilderImpl & player_capabilities (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fuchsia_media_sessions2::wire::PlayerCapabilities>> elem)
The capabilities of the player.
If omitted, the capabilities are unchanged. Initially, the player is assumed to have no
capabilities.
bool has_interruption_behavior ()
void clear_interruption_behavior ()
Clears the interruption_behavior field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
::fuchsia_media_sessions2::wire::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`.
BuilderImpl & interruption_behavior (::fuchsia_media_sessions2::wire::InterruptionBehavior elem)
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`.
Protected Methods
void WireTableBaseBuilder< ::fuchsia_media_sessions2::wire::PlayerInfoDelta, BuilderImpl> (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_media_sessions2::wire::PlayerInfoDelta>> && frame)