ScaleGestureDetector.IOnScaleGestureListener.OnScale 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 scaling events for a gesture in progress.
[Android.Runtime.Register("onScale", "(Landroid/view/ScaleGestureDetector;)Z", "GetOnScale_Landroid_view_ScaleGestureDetector_Handler:Android.Views.ScaleGestureDetector/IOnScaleGestureListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public bool OnScale (Android.Views.ScaleGestureDetector detector);
[<Android.Runtime.Register("onScale", "(Landroid/view/ScaleGestureDetector;)Z", "GetOnScale_Landroid_view_ScaleGestureDetector_Handler:Android.Views.ScaleGestureDetector/IOnScaleGestureListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member OnScale : 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 consider this event as handled. If an event was not handled, the detector will continue to accumulate movement until an event is handled. This can be useful if an application, for example, only wants to update scaling factors if the change is greater than 0.01.
- Attributes
Remarks
Responds to scaling events for a gesture in progress. Reported by pointer motion.
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.