class ObserverDiscovery

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

`ObserverDiscovery` observes the collection of published media sessions

and connects clients to them for observation without playback controls.

Public Members

static const char[] Name_

Public Methods

void ~ObserverDiscovery ()
void WatchSessions (::fuchsia::media::sessions2::WatchOptions watch_options, ::fidl::InterfaceHandle< ::fuchsia::media::sessions2::SessionsWatcher> sessions_watcher)

Connects a session watcher configured with the given options.

void ConnectToSession (uint64_t session_id, ::fidl::InterfaceRequest< ::fuchsia::media::sessions2::SessionObserver> session_request)

Connects to a `SessionObserver` for `session_id` if present. Drops the

given channel otherwise.