class ActiveSession

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

A protocol for watching the current active media session on the device.

The currently active media session is the most recent existing media session

to announce a "Playing" state on the local device, even if it is now paused.

Public Members

static const char[] Name_

Public Methods

void ~ActiveSession ()
void WatchActiveSession (WatchActiveSessionCallback callback)

Watches the active session. The first request will be answered immediately

with the current active session. Always leave a request hanging to receive

a reply when the active session changes.