Google is committed to advancing racial equity for Black communities. See how.

fuchsia.ui.pointerinjector.configuration

PROTOCOLS

Setup

Defined in fuchsia.ui.pointerinjector.configuration/setup.fidl

A service used by an input pipeline to set up pointer injection into Scenic. This should be implemented by the component that configures the scene (Root Presenter or Scene Manager).

GetViewRefs

Returns the viewrefs for injection authority (Config.context) and injection destination (Config.target).

This only returns when valid context and target views exist. Typically called just once.

Request

NameType

Response

NameType
context fuchsia.ui.views/ViewRef
target fuchsia.ui.views/ViewRef

WatchViewport

Returns the current viewport. Follows the hanging get pattern.

The first call to this function will return the current viewport, whenever one exists. Subsequent calls will block until the viewport has been updated.

Flow control: There should only be one outstanding call to this function. The channel will be closed if an additional call to this function is made while a call is outstanding.

Request

NameType

Response

NameType
viewport fuchsia.ui.pointerinjector/Viewport

STRUCTS