ScaleGestureDetector.IOnScaleGestureListener.OnScaleBegin Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Responds to the beginning of a scaling gesture.
[Android.Runtime.Register("onScaleBegin", "(Landroid/view/ScaleGestureDetector;)Z", "GetOnScaleBegin_Landroid_view_ScaleGestureDetector_Handler:Android.Views.ScaleGestureDetector/IOnScaleGestureListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public bool OnScaleBegin (Android.Views.ScaleGestureDetector detector);
[<Android.Runtime.Register("onScaleBegin", "(Landroid/view/ScaleGestureDetector;)Z", "GetOnScaleBegin_Landroid_view_ScaleGestureDetector_Handler:Android.Views.ScaleGestureDetector/IOnScaleGestureListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member OnScaleBegin : Android.Views.ScaleGestureDetector -> bool
Parameters
- detector
- ScaleGestureDetector
The detector reporting the event - use this to retrieve extended info about event state.
Returns
Whether or not the detector should continue recognizing this gesture. For example, if a gesture is beginning with a focal point outside of a region where it makes sense, onScaleBegin() may return false to ignore the rest of the gesture.
- Attributes
Remarks
Responds to the beginning of a scaling gesture. Reported by new pointers going down.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.