Android Guides | Samples

Android.Views.ScaleGestureDetector.IOnScaleGestureListener

The listener for receiving notifications when gestures occur.

See Also: ScaleGestureDetector+IOnScaleGestureListener

Syntax

[Android.Runtime.Register("android/view/ScaleGestureDetector$OnScaleGestureListener", "", "Android.Views.ScaleGestureDetector/IOnScaleGestureListenerInvoker")]
public interface ScaleGestureDetector.IOnScaleGestureListener : IJavaObject, IDisposable

Remarks

The listener for receiving notifications when gestures occur. If you want to listen for all the different gestures then implement this interface. If you only want to listen for a subset it might be easier to extend ScaleGestureDetector+SimpleOnScaleGestureListener. An application will receive events in the following order:

[Android Documentation]

Requirements

Namespace: Android.Views
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 8

The members of Android.Views.ScaleGestureDetector.IOnScaleGestureListener are listed below.

Public Methods

OnScale(ScaleGestureDetector) : Boolean
Responds to scaling events for a gesture in progress.
OnScaleBegin(ScaleGestureDetector) : Boolean
Responds to the beginning of a scaling gesture.
OnScaleEnd(ScaleGestureDetector)
Responds to the end of a scale gesture.