Home > @magiclane/maps-sdk > GemView > registerTwoTouchesCallback
GemView.registerTwoTouchesCallback() method
Register a callback for two-touch events.
Signature:
registerTwoTouchesCallback(twoTouchCallback: TouchCallback | null): void;Parameters
Parameter | Type | Description |
|---|---|---|
twoTouchCallback | TouchCallback | null | Callback invoked when a two-touch event is detected. Pass null to unregister. |
Returns:
void