Android Guides | Samples

Android.Views.ScaleGestureDetector.SimpleOnScaleGestureListener Class

A convenience class to extend when you only want to listen for a subset of scaling-related events.

See Also: ScaleGestureDetector+SimpleOnScaleGestureListener

Syntax

[Android.Runtime.Register("android/view/ScaleGestureDetector$SimpleOnScaleGestureListener", DoNotGenerateAcw=true)]
public class ScaleGestureDetector.SimpleOnScaleGestureListener : Object, ScaleGestureDetector+IOnScaleGestureListener, IDisposable

Remarks

A convenience class to extend when you only want to listen for a subset of scaling-related events. This implements all methods in ScaleGestureDetector+IOnScaleGestureListener but does nothing. IOnScaleGestureListener.OnScale(ScaleGestureDetector) returns false so that a subclass can retrieve the accumulated scale factor in an overridden onScaleEnd. IOnScaleGestureListener.OnScaleBegin(ScaleGestureDetector) returns true.

[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.SimpleOnScaleGestureListener are listed below.

See Also: Object

Public Constructors

Protected Constructors

A constructor used when creating managed representations of JNI objects; called by the runtime.

Protected Properties

[read-only]
override
ThresholdClassIntPtr. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.
[read-only]
override
ThresholdTypeType. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

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.