class SessionsWatcher
Defined at line 5100 of file fidling/gen/sdk/fidl/fuchsia.media.sessions2/fuchsia.media.sessions2/hlcpp/fuchsia/media/sessions2/cpp/fidl.h
`SessionsWatcher` watches the collection of published sessions.
Public Methods
void ~SessionsWatcher ()
void SessionUpdated (uint64_t session_id, ::fuchsia::media::sessions2::SessionInfoDelta session_info_delta, SessionUpdatedCallback callback)
Called by the registry service when a session is updated. On first connection,
this will be called as many times as needed to communicate the state of the
world.
`SessionsWatcher` must reply to acknowledge receipt of the session info delta.
Delinquent watchers who do not reply will eventually be disconnected.
void SessionRemoved (uint64_t session_id, SessionRemovedCallback callback)
Called by the registry service when a session is removed from the registered
collection.
`SessionsWatcher` must reply to acknlowledge receipt of the session removal.
Delinquent watchers who do not reply will eventually be disconnected.