Namespaces

Enumerations

enum MouseViewStatus
Name Value
ENTERED 1u
EXITED 2u

A description of mouse event stream's relationship to this view.

Defined at line 19 of file fidling/gen/sdk/fidl/fuchsia.ui.pointer/fuchsia.ui.pointer/hlcpp/fuchsia/ui/pointer/cpp/fidl.h

enum EventPhase
Name Value
ADD 1u
CHANGE 2u
REMOVE 3u
CANCEL 4u

The possible states of a pointer event. These phases of events in a stream

follow a state machine that starts with the `ADD` phase, followed by zero or

more `CHANGE` phases, and finally terminates with `REMOVE` or `CANCEL`

phase.

```

ADD ---> CHANGE* -+-> REMOVE

|

+-> CANCEL

```

A finite sequence of pointer events that follows this state machine,

starting from the initial state, is called an **interaction**. A closed (or

past) interaction is one where it has reached the terminal state; an open

(or current) interaction is one where it has not.

For a given device pointer, a stream of events is observed as a succession

of zero or more closed interactions (the past history of user engagement),

followed by at most one open interaction (the current user engagement).

When we need to group pointer events by their interaction, an event carries

an **interaction id** that is unique in that pointer stream. This common

reference makes it possible to operate on a closed interaction, as well as

an open interaction.

For example, touch events are typically observed as a succession of

interactions, as fingers engage and disengage with the display.

Defined at line 62 of file fidling/gen/sdk/fidl/fuchsia.ui.pointer/fuchsia.ui.pointer/hlcpp/fuchsia/ui/pointer/cpp/fidl.h

enum TouchInteractionStatus
Name Value
DENIED 1u
GRANTED 2u

A description of the interaction's relationship to this client.

Defined at line 88 of file fidling/gen/sdk/fidl/fuchsia.ui.pointer/fuchsia.ui.pointer/hlcpp/fuchsia/ui/pointer/cpp/fidl.h

enum TouchResponseType
Name Value
NO 1u
MAYBE 2u
MAYBE_PRIORITIZE 3u
MAYBE_SUPPRESS 4u
MAYBE_PRIORITIZE_SUPPRESS 5u
HOLD 6u
HOLD_SUPPRESS 7u
YES 8u
YES_PRIORITIZE 9u

The possible interaction dispositions that a client can respond with to a

given |TouchPointerSample|. Used as part of a gesture disambiguation scheme.

The responses are based on the idea of an ownership claim on a interaction.

Clients may assert a claim of ownership on an open interaction, but only one

client's claim is granted by the server; other clients' claims are denied.

Defined at line 111 of file fidling/gen/sdk/fidl/fuchsia.ui.pointer/fuchsia.ui.pointer/hlcpp/fuchsia/ui/pointer/cpp/fidl.h

Records

Functions

  • zx_status_t Clone (::fuchsia::ui::pointer::MouseViewStatus value, ::fuchsia::ui::pointer::MouseViewStatus * result)

    Defined at line 28 of file fidling/gen/sdk/fidl/fuchsia.ui.pointer/fuchsia.ui.pointer/hlcpp/fuchsia/ui/pointer/cpp/fidl.h

  • zx_status_t Clone (::fuchsia::ui::pointer::EventPhase value, ::fuchsia::ui::pointer::EventPhase * result)

    Defined at line 77 of file fidling/gen/sdk/fidl/fuchsia.ui.pointer/fuchsia.ui.pointer/hlcpp/fuchsia/ui/pointer/cpp/fidl.h

  • zx_status_t Clone (::fuchsia::ui::pointer::TouchInteractionStatus value, ::fuchsia::ui::pointer::TouchInteractionStatus * result)

    Defined at line 97 of file fidling/gen/sdk/fidl/fuchsia.ui.pointer/fuchsia.ui.pointer/hlcpp/fuchsia/ui/pointer/cpp/fidl.h

  • zx_status_t Clone (::fuchsia::ui::pointer::TouchResponseType value, ::fuchsia::ui::pointer::TouchResponseType * result)

    Defined at line 169 of file fidling/gen/sdk/fidl/fuchsia.ui.pointer/fuchsia.ui.pointer/hlcpp/fuchsia/ui/pointer/cpp/fidl.h

  • zx_status_t Clone (const ::fuchsia::ui::pointer::MouseEventStreamInfo & _value, ::fuchsia::ui::pointer::MouseEventStreamInfo * _result)

    Defined at line 487 of file fidling/gen/sdk/fidl/fuchsia.ui.pointer/fuchsia.ui.pointer/hlcpp/fuchsia/ui/pointer/cpp/fidl.h

  • zx_status_t Clone (const ::fuchsia::ui::pointer::TouchInteractionId & _value, ::fuchsia::ui::pointer::TouchInteractionId * _result)

    Defined at line 628 of file fidling/gen/sdk/fidl/fuchsia.ui.pointer/fuchsia.ui.pointer/hlcpp/fuchsia/ui/pointer/cpp/fidl.h

  • zx_status_t Clone (const ::fuchsia::ui::pointer::TouchInteractionResult & _value, ::fuchsia::ui::pointer::TouchInteractionResult * _result)

    Defined at line 655 of file fidling/gen/sdk/fidl/fuchsia.ui.pointer/fuchsia.ui.pointer/hlcpp/fuchsia/ui/pointer/cpp/fidl.h

  • zx_status_t Clone (const ::fuchsia::ui::pointer::TouchSourceWatchRequest & _value, ::fuchsia::ui::pointer::TouchSourceWatchRequest * _result)

    Defined at line 798 of file fidling/gen/sdk/fidl/fuchsia.ui.pointer/fuchsia.ui.pointer/hlcpp/fuchsia/ui/pointer/cpp/fidl.h

  • zx_status_t Clone (const ::fuchsia::ui::pointer::TouchSourceUpdateResponseRequest & _value, ::fuchsia::ui::pointer::TouchSourceUpdateResponseRequest * _result)

    Defined at line 821 of file fidling/gen/sdk/fidl/fuchsia.ui.pointer/fuchsia.ui.pointer/hlcpp/fuchsia/ui/pointer/cpp/fidl.h

  • zx_status_t Clone (const ::fuchsia::ui::pointer::Rectangle & _value, ::fuchsia::ui::pointer::Rectangle * _result)

    Defined at line 1379 of file fidling/gen/sdk/fidl/fuchsia.ui.pointer/fuchsia.ui.pointer/hlcpp/fuchsia/ui/pointer/cpp/fidl.h

  • zx_status_t Clone (const ::fuchsia::ui::pointer::ViewParameters & _value, ::fuchsia::ui::pointer::ViewParameters * _result)

    Defined at line 1430 of file fidling/gen/sdk/fidl/fuchsia.ui.pointer/fuchsia.ui.pointer/hlcpp/fuchsia/ui/pointer/cpp/fidl.h

  • zx_status_t Clone (const ::fuchsia::ui::pointer::MouseSourceWatchResponse & _value, ::fuchsia::ui::pointer::MouseSourceWatchResponse * _result)

    Defined at line 1767 of file fidling/gen/sdk/fidl/fuchsia.ui.pointer/fuchsia.ui.pointer/hlcpp/fuchsia/ui/pointer/cpp/fidl.h

  • zx_status_t Clone (const ::fuchsia::ui::pointer::TouchSourceWatchResponse & _value::fuchsia::ui::pointer::TouchSourceWatchResponse * _result)

    Defined at line 2113 of file fidling/gen/sdk/fidl/fuchsia.ui.pointer/fuchsia.ui.pointer/hlcpp/fuchsia/ui/pointer/cpp/fidl.h