class Registry
Defined at line 152 of file fidling/gen/sdk/fidl/fuchsia.ui.observation.test/fuchsia.ui.observation.test/hlcpp/fuchsia/ui/observation/test/cpp/fidl.h
*** ONLY FOR USE IN TESTS ***
This is a sensitive protocol. It provides unlimited access to the global
view tree. Hand it out ONLY to test components.
Production uses should obtain observation protocols through a graphics
factory function (see |fuchsia.ui.composition.ViewBoundProtocols|), which
securely ties observation protocols to a specific view client.
Public Members
static const char[] Name_
Public Methods
void ~Registry ()
void RegisterGlobalViewTreeWatcher (::fidl::InterfaceRequest< ::fuchsia::ui::observation::geometry::ViewTreeWatcher> watcher, RegisterGlobalViewTreeWatcherCallback callback)
Sets up a channel for receiving global view geometry.
This method may be called multiple times to obtain multiple geometry
`ViewTreeWatcher`s, if necesary. However, typical test usage is to
obtain just one geometry `ViewTreeWatcher` in the test component.
Flow control. The caller is allowed at most one in-flight call at a
time. Subsequent calls must wait until the acknowledgment returns.
Non-compliance results in channel closure.
Client can freely disconnect this `Registry` endpoint after this method
returns.