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