class UsageWatcher2

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

Public Methods

void ~UsageWatcher2 ()
void OnStateChanged (::fuchsia::media::Usage2 usage, ::fuchsia::media::UsageState state, OnStateChangedCallback callback)

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.