Kanzi 3.9.10
kanzi::android_ws::AndroidWSInputDevice Class Reference

Class representing an input device for the default Android window surface EGL graphics output. More...

#include <kanzi/core.ui/platform/input_ng/android_ws/android_ws_input_device.hpp>

Public Member Functions

 AndroidWSInputDevice (unsigned int width, unsigned int height, const EventSourceProperties &properties)
 Constructor.
 
void gatherData (EventQueue &queue)
 Amends the given event queue with the events received so far.
 
KZ_NO_DISCARD NativeEventHandle getNativeEventHandle () const noexcept
 Gets the associated underlying native event handle.
 
KZ_NO_DISCARD KzsInputDeviceNativegetNativeHandle () const noexcept
 Gets the associated native handle.
 
 ~AndroidWSInputDevice ()
 Destructor.
 

Detailed Description

Class representing an input device for the default Android window surface EGL graphics output.

Since
Kanzi 3.9.8

Constructor & Destructor Documentation

◆ AndroidWSInputDevice()

kanzi::android_ws::AndroidWSInputDevice::AndroidWSInputDevice ( unsigned int width,
unsigned int height,
const EventSourceProperties & properties )
explicit

Constructor.

Parameters
widthTouch screen width in pixels.
heightTouch screen height in pixels.
propertiesProperties to request for the input device.

◆ ~AndroidWSInputDevice()

kanzi::android_ws::AndroidWSInputDevice::~AndroidWSInputDevice ( )

Destructor.

Member Function Documentation

◆ gatherData()

void kanzi::android_ws::AndroidWSInputDevice::gatherData ( EventQueue & queue)

Amends the given event queue with the events received so far.

Parameters
queueEvent queue to amend. Do not clear nor assume to be empty.

◆ getNativeEventHandle()

KZ_NO_DISCARD NativeEventHandle kanzi::android_ws::AndroidWSInputDevice::getNativeEventHandle ( ) const
noexcept

Gets the associated underlying native event handle.

Returns
The native event handle.

◆ getNativeHandle()

KZ_NO_DISCARD KzsInputDeviceNative * kanzi::android_ws::AndroidWSInputDevice::getNativeHandle ( ) const
noexcept

Gets the associated native handle.

Returns
The native handle.

The documentation for this class was generated from the following file: