template <>

class WireSyncClientImpl

Defined at line 20212 of file fidling/gen/sdk/fidl/fuchsia.media/fuchsia.media/cpp/fidl/fuchsia.media/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::UsageWatcher>|,

avoiding setting up a client.

Public Methods

::fidl::WireResult< ::fuchsia_media::UsageWatcher::OnStateChanged> OnStateChanged (::fuchsia_media::wire::Usage usage, ::fuchsia_media::wire::UsageState state)

Called on first connection and whenever the watched usage changes. The provided

usage will always be the bound usage; it is provided so that an implementation of

this protocol may be bound to more than one usage.

Clients must respond to acknowledge the event. Clients that do not acknowledge their

events will eventually be disconnected.

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