template <>

class WireWeakOnewayClientImpl

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

Public Methods

::fidl::OneWayStatus Play ()

Plays media.

Allocates 32 bytes of message buffer on the stack. No heap allocation necessary.

::fidl::OneWayStatus Pause ()

Pauses playback and retains position in media

Allocates 32 bytes of message buffer on the stack. No heap allocation necessary.

::fidl::OneWayStatus Stop ()

Stops playback. The session should close.

Allocates 32 bytes of message buffer on the stack. No heap allocation necessary.

::fidl::OneWayStatus Seek (int64_t position)

Seeks to a specific position in media. Implementations are free to

enter an error state if the position is out of bounds. `position`

is an offset from the beginning of the media.

Allocates 40 bytes of message buffer on the stack. No heap allocation necessary.

::fidl::OneWayStatus SkipForward ()

Skips forward in media by the player's default skip amount.

Allocates 32 bytes of message buffer on the stack. No heap allocation necessary.

::fidl::OneWayStatus SkipReverse ()

Skips in reverse in media by the player's default skip amount.

Allocates 32 bytes of message buffer on the stack. No heap allocation necessary.

::fidl::OneWayStatus NextItem ()

Changes media to the next item (e.g. next song in playlist).

Allocates 32 bytes of message buffer on the stack. No heap allocation necessary.

::fidl::OneWayStatus PrevItem ()

Changes media to the previous item.

Allocates 32 bytes of message buffer on the stack. No heap allocation necessary.

::fidl::OneWayStatus SetPlaybackRate (float playback_rate)

Sets the playback rate of the media. This will not change the

playback mode.

Allocates 40 bytes of message buffer on the stack. No heap allocation necessary.

::fidl::OneWayStatus SetRepeatMode (::fuchsia_media_sessions2::wire::RepeatMode repeat_mode)

Sets repeat mode to any of the supported repeat modes.

Allocates 40 bytes of message buffer on the stack. No heap allocation necessary.

::fidl::OneWayStatus SetShuffleMode (bool shuffle_on)

Sets shuffle mode.

Allocates 40 bytes of message buffer on the stack. No heap allocation necessary.

::fidl::OneWayStatus BindVolumeControl (::fidl::ServerEnd< ::fuchsia_media_audio::VolumeControl> && volume_control_request)

Binds to the session's volume control for control and notifications.

Allocates 40 bytes of message buffer on the stack. No heap allocation necessary.