class Discovery

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

`Discovery` observes the collection of published media sessions

and connects clients to them.

Public Members

static const char[] Name_

Public Methods

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

Connects a session watcher configured with the given options.

void ConnectToSession (uint64_t session_id, ::fidl::InterfaceRequest< ::fuchsia::media::sessions2::SessionControl> session_control_request)

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

given channel otherwise.