ScaleGestureDetector.IOnScaleGestureListener.OnScaleBegin Method

Definition

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.

Java documentation for android.view.ScaleGestureDetector.OnScaleGestureListener.onScaleBegin(android.view.ScaleGestureDetector).

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.

Applies to