template <typename BuilderImpl>
class WireTableBaseBuilder
Defined at line 1349 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::SessionInfoDelta Build ()
Build and return the table. The builder should not be used after this.
bool has_domain ()
void clear_domain ()
Clears the domain field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
::fidl::StringView & domain ()
The domain on which the session takes place. A domain identifies a set of
mutually compatible media targets and sessions; sessions on a domain may
be played back on targets of the same domain.
This field is always present.
BuilderImpl & domain (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fidl::StringView>> elem)
The domain on which the session takes place. A domain identifies a set of
mutually compatible media targets and sessions; sessions on a domain may
be played back on targets of the same domain.
This field is always present.
bool has_is_local ()
void clear_is_local ()
Clears the is_local field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
bool & is_local ()
Whether the source of the media playback is on this device.
This field is present only if known.
BuilderImpl & is_local (bool elem)
Whether the source of the media playback is on this device.
This field is present only if known.
bool has_is_locally_active ()
void clear_is_locally_active ()
Clears the is_locally_active field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
bool & is_locally_active ()
If this is `true`, the playback is taking place local to the device.
Playing on the device speaker is local, playing on a remote speaker
is not. This is only set when the session is playing back; a paused
session is not active.
This field is always present.
BuilderImpl & is_locally_active (bool elem)
If this is `true`, the playback is taking place local to the device.
Playing on the device speaker is local, playing on a remote speaker
is not. This is only set when the session is playing back; a paused
session is not active.
This field is always present.
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.
This field is always present.
BuilderImpl & player_status (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fuchsia_media_sessions2::wire::PlayerStatus>> elem)
The status of the player.
This field is always present.
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 ()
Metadata describing the media session.
This field is always present.
BuilderImpl & metadata (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fuchsia_media::wire::Metadata>> elem)
Metadata describing the media session.
This field is always present.
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 ()
Images associated with the media or its source.
This field is always present.
BuilderImpl & media_images (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fidl::VectorView< ::fuchsia_media_sessions2::wire::MediaImage>>> elem)
Images associated with the media or its source.
This field is always present.
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 the player of the media implements.
This field is always present.
BuilderImpl & player_capabilities (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fuchsia_media_sessions2::wire::PlayerCapabilities>> elem)
The capabilities the player of the media implements.
This field is always present.
Protected Methods
void WireTableBaseBuilder< ::fuchsia_media_sessions2::wire::SessionInfoDelta, BuilderImpl> (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_media_sessions2::wire::SessionInfoDelta>> && frame)