InputTouchForwarder¶
-
class
kanzi::connect
::
InputTouchForwarder
: public InputManipulator¶ Input manipulator for kanzi connect which forwards input touch events to input service.
Public Functions
Constructor.
- Parameters
domain – The UI domain
service – The input service instance which is used to pass events to server
-
virtual ~InputTouchForwarder () KZ_OVERRIDE=default
dtor
-
virtual void notifyTouchInside (const TouchInfo &touchInfo) KZ_OVERRIDE
Handle the touch events within the area.
-
void
setGeometry
(const Vector2 &topLeft, const Vector2 &size)¶ Set active area for capture start point.
In node coordinates
- Parameters
topLeft – The coordinates of top left corner
size – The width and length of the area
-
inline void
setInputStreamId
(string streamId, bool clearStreamIdHash)¶
-
inline void
setInputStreamIdHash
(int streamIdHash)¶