class ListenerRegistry

Defined at line 466 of file fidling/gen/sdk/fidl/fuchsia.accessibility.gesture/fuchsia.accessibility.gesture/hlcpp/fuchsia/accessibility/gesture/cpp/fidl.h

An interface for registering a listener of accessibility gestures.

Public Members

static const char[] Name_

Public Methods

void ~ListenerRegistry ()
void Register (::fidl::InterfaceHandle< ::fuchsia::accessibility::gesture::Listener> listener, RegisterCallback callback)

A UI registers itself to start listening for accessibility gestures

through `listener`.

Only one listener can be registered at a time.

This registry honors the last Register() call, and a previous listener

is closed.

In case of any failure, the channel of the listener is closed with an

epitaph.