public static interface
PinchGesture.OnGestureEventListener
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-06-26 UTC.
[null,null,["Last updated 2024-06-26 UTC."],[[["`PinchGesture.OnGestureEventListener` defines callbacks for pinch gestures in AR scenes."],["It inherits methods like `onFinished` and `onUpdated` from `BaseGesture.OnGestureEventListener` to handle gesture updates and completion."],["These methods provide a `PinchGesture` object, giving access to gesture details during interactions."]]],["The `PinchGesture.OnGestureEventListener` interface defines callbacks for a `PinchGesture`. It includes two inherited abstract methods: `onFinished` and `onUpdated`. `onFinished` is invoked when a `PinchGesture` ends. `onUpdated` is invoked when the `PinchGesture` is in progress, allowing the listener to receive updates about the gesture's current state, and both of them are triggered by a PinchGesture.\n"]]