class PointerEvent

Defined at line 103 of file fidling/gen/sdk/fidl/fuchsia.ui.input.accessibility/fuchsia.ui.input.accessibility/cpp/fidl/fuchsia.ui.input.accessibility/cpp/wire_types.h

A PointerEvent is a privileged pointer event that has local view and global

screen coordinates as well as some metadata about the event type.

Public Methods

bool IsEmpty ()

Returns whether no field is set.

bool HasUnknownData ()

Returns whether the table references unknown fields.

::fidl::WireTableBuilder< ::fuchsia_ui_input_accessibility::wire::PointerEvent> Builder (::fidl::AnyArena & arena)

Return a builder that by defaults allocates of an arena.

::fidl::WireTableExternalBuilder< ::fuchsia_ui_input_accessibility::wire::PointerEvent> ExternalBuilder (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_ui_input_accessibility::wire::PointerEvent>> frame)

Return a builder that relies on explicitly allocating |fidl::ObjectView|s.

void PointerEvent ()

Defined at line 105 of file fidling/gen/sdk/fidl/fuchsia.ui.input.accessibility/fuchsia.ui.input.accessibility/cpp/fidl/fuchsia.ui.input.accessibility/cpp/wire_types.h

void PointerEvent (const PointerEvent & other)

Defined at line 106 of file fidling/gen/sdk/fidl/fuchsia.ui.input.accessibility/fuchsia.ui.input.accessibility/cpp/fidl/fuchsia.ui.input.accessibility/cpp/wire_types.h

uint64_t & event_time ()

Time the event was delivered. The time is in nanoseconds and corresponds

to the monotonic time as determined by the zx_clock_get_monotonic syscall.

bool has_event_time ()
uint32_t & device_id ()

ID of the device that captured this event.

bool has_device_id ()
PointerEvent & operator= (const PointerEvent & other)

Defined at line 107 of file fidling/gen/sdk/fidl/fuchsia.ui.input.accessibility/fuchsia.ui.input.accessibility/cpp/fidl/fuchsia.ui.input.accessibility/cpp/wire_types.h

void PointerEvent (PointerEvent && other)

Defined at line 108 of file fidling/gen/sdk/fidl/fuchsia.ui.input.accessibility/fuchsia.ui.input.accessibility/cpp/fidl/fuchsia.ui.input.accessibility/cpp/wire_types.h

PointerEvent & operator= (PointerEvent && other)

Defined at line 109 of file fidling/gen/sdk/fidl/fuchsia.ui.input.accessibility/fuchsia.ui.input.accessibility/cpp/fidl/fuchsia.ui.input.accessibility/cpp/wire_types.h

uint32_t & pointer_id ()

ID of the pointer that identifies this event.

bool has_pointer_id ()
::fuchsia_ui_input::wire::PointerEventType & type ()

Type of this event, e.g. touch, mouse, etc.

bool has_type ()
::fuchsia_ui_input::wire::PointerEventPhase & phase ()

Phase of this event, e.g. add, down, etc.

bool has_phase ()
::fuchsia_math::wire::PointF & ndc_point ()

The coordinate of this pointer event in normalized device coordinates.

Normalized device coordinates have dimensions in the range [-1, 1],

with (0, 0) being the center of the device and axes aligned with the

native display.

bool has_ndc_point ()
uint64_t & viewref_koid ()

The viewref koid of the top most view hit for this pointer event.

This field is set to `ZX_KOID_INVALID` when there is no view hit and

`local_point` is undefined.

bool has_viewref_koid ()
::fuchsia_math::wire::PointF & local_point ()

The point of this pointer event in local view coordinates.

bool has_local_point ()
void ~PointerEvent ()

Defined at line 111 of file fidling/gen/sdk/fidl/fuchsia.ui.input.accessibility/fuchsia.ui.input.accessibility/cpp/fidl/fuchsia.ui.input.accessibility/cpp/wire_types.h

Friends

class WireTableBaseBuilder
class WireTableBaseBuilder