template <>

class WireSyncClientImpl

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

Methods to make a sync FIDL call directly on an unowned handle or a

const reference to a |::fidl::ClientEnd

<

::fuchsia_media_sessions2::ObserverDiscovery>|,

avoiding setting up a client.

Public Methods

::fidl::OneWayStatus WatchSessions (::fuchsia_media_sessions2::wire::WatchOptions watch_options, ::fidl::ClientEnd< ::fuchsia_media_sessions2::SessionsWatcher> && sessions_watcher)

Connects a session watcher configured with the given options.

Allocates 16 bytes of response buffer on the stack. Request is heap-allocated.

::fidl::OneWayStatus ConnectToSession (uint64_t session_id, ::fidl::ServerEnd< ::fuchsia_media_sessions2::SessionObserver> && session_request)

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

given channel otherwise.

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