Gesturedeck
This is the low-level API that allows you to build custom functionalities on top of Gesturedeck, with seamless callbacks for Gesturedeck's gestures.
The library provides callbacks for each gesture, allowing developers to perform custom actions in response to user input.
It allows developers to easily add support for multi-finger and single-finger gestures such as taps, swipes, pans, and long presses to their apps, that are active on top of the entire UI and do not interfere with the apps' UI elements.
To use Gesturedeck, create an instance of the Gesturedeck
class and pass in the required parameters. When a gesture is detected, the corresponding callback will be invoked.
Gesturedeck requires an activation key to remove watermarks. The activation key can be obtained by contacting Navideck, the creators of Gesturedeck. The watermarked mode is available for free for developers who want to use it without setting an activation key.
Parameters
Context of the current activity.
The action to perform when tapping with two fingers.
The action to perform when swipping left with two fingers.
The action to perform when swipping right with two fingers.
The action to perform when panning vertically with two fingers or double tapping and sliding with a single finger.
The sensitivity of Gesturedeck when panning.
The action to perform when long pressing with two fingers.
Start gesturedeck automatically.
Set the touch listener on the root view of the activity, set to false if you want to set the touch listener on a specific view or activity and call onTouchEvent manually.
An optional activation key to remove watermarks. If not provided, Gesturedeck will present a watermark.