class PlayerRegistration

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

All information required by the media session registry service to

register a player so that clients may observe its status and control

it.

Public Members

static const fidl_type_t * FidlType

Public Methods

bool IsEmpty ()

Returns whether no field is set.

PlayerRegistration & set_domain (::std::string _value)
PlayerRegistration & set_usage (::fuchsia::media::AudioRenderUsage _value)
PlayerRegistration & set_usage2 (::fuchsia::media::AudioRenderUsage2 _value)
void PlayerRegistration ()
void PlayerRegistration (PlayerRegistration && other)
void ~PlayerRegistration ()
PlayerRegistration & operator= (PlayerRegistration && other)
::std::unique_ptr<PlayerRegistration> New ()
void Encode (::fidl::Encoder * _encoder, size_t _offset, std::optional< ::fidl::HandleInformation> maybe_handle_info)
void Decode (::fidl::Decoder * _decoder, PlayerRegistration * _value, size_t _offset)
zx_status_t Clone (PlayerRegistration * _result)
const ::std::string & domain ()

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

Fuchsia domain.

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

bool has_domain ()

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

::std::string * mutable_domain ()

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

Fuchsia domain.

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

void clear_domain ()

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

const ::fuchsia::media::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.

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

bool has_usage ()

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

::fuchsia::media::AudioRenderUsage * mutable_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.

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

void clear_usage ()

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

const ::fuchsia::media::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.

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

bool has_usage2 ()

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

::fuchsia::media::AudioRenderUsage2 * mutable_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.

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

void clear_usage2 ()

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