class Manager
Defined at line 1055 of file fidling/gen/sdk/fidl/fuchsia.input.virtualkeyboard/fuchsia.input.virtualkeyboard/hlcpp/fuchsia/input/virtualkeyboard/cpp/fidl.h
Enables the virtual keyboard UI to synchronize state with the platform.
# Roles
This protocol will typically be:
* Implemented by platform components which control UI policy.
* Consumed by components which provide a GUI affordance for text input.
Public Members
static const char[] Name_
Public Methods
void ~Manager ()
void WatchTypeAndVisibility (WatchTypeAndVisibilityCallback callback)
Waits for a change in intended `text_type` or visibility, then
reports the new value. In response to a status change, the caller
should set the requested type and visibility, then call `Notify`
to inform the platform of the change.
The first call immediately returns the currently intended
`text_type` and visibility.
In the event that `text_type` is not supported, the caller should
implement a fallback that provides as many of the necessary keys
as possible.
void Notify (bool is_visible, ::fuchsia::input::virtualkeyboard::VisibilityChangeReason reason, NotifyCallback callback)
Informs the callee that the visibility of the virtual keyboard has
changed, and what triggered the change.
The caller _should_ wait for a result before invoking invoking this
method again, to avoid overloading the callee.