template <typename BuilderImpl>

class WireTableBaseBuilder

Defined at line 2191 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::PlayerRegistration 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 player exists. Unset if it is the native

Fuchsia domain.

BuilderImpl & domain (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fidl::StringView>> elem)

The domain on which the player exists. Unset if it is the native

Fuchsia domain.

bool has_usage ()
void clear_usage ()

Clears the usage field.

This method should be used sparingly, such as only during tests, as it has

O(number_of_fields) complexity.

::fuchsia_media::wire::AudioRenderUsage & usage ()

The usage of the player's audio output. Either 'usage' or 'usage2'

may be set, but not both. If neither is set, this is assumed to be MEDIA.

BuilderImpl & usage (::fuchsia_media::wire::AudioRenderUsage elem)

The usage of the player's audio output. Either 'usage' or 'usage2'

may be set, but not both. If neither is set, this is assumed to be MEDIA.

bool has_usage2 ()
void clear_usage2 ()

Clears the usage2 field.

This method should be used sparingly, such as only during tests, as it has

O(number_of_fields) complexity.

::fuchsia_media::wire::AudioRenderUsage2 & usage2 ()

The usage of the player's audio output. Either 'usage' or 'usage2'

may be set, but not both. If neither is set, this is assumed to be MEDIA.

BuilderImpl & usage2 (::fuchsia_media::wire::AudioRenderUsage2 elem)

The usage of the player's audio output. Either 'usage' or 'usage2'

may be set, but not both. If neither is set, this is assumed to be MEDIA.

Protected Methods

void WireTableBaseBuilder< ::fuchsia_media_sessions2::wire::PlayerRegistration, BuilderImpl> (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_media_sessions2::wire::PlayerRegistration>> && frame)

Records