template <>

class WireSyncClientImpl

Defined at line 285 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::Discovery>|,

avoiding setting up a client.

Public Methods

::fidl::OneWayStatus WatchSessions (::fuchsia_media_sessions2::wire::WatchOptions watch_options, ::fidl::ClientEnd< ::fuchsia_media_sessions2::SessionsWatcher> && session_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::SessionControl> && session_control_request)

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

given channel otherwise.

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