Table of Contents

Class ScaleGestureDetector

Namespace
Android.View
Assembly
MASES.Netdroid.dll
public class ScaleGestureDetector : JVMBridgeBase<ScaleGestureDetector>, IDynamicMetaObjectProvider, IJVMBridgeCore, IEquatable<IJVMBridgeBaseInstance>, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeBaseInstance, IJVMBridgeDefinition
Inheritance
ScaleGestureDetector
Implements
Extension Methods

Constructors

ScaleGestureDetector(Context, OnScaleGestureListener)

public ScaleGestureDetector(Context arg0, ScaleGestureDetector.OnScaleGestureListener arg1)

Parameters

arg0 Context

Context

arg1 ScaleGestureDetector.OnScaleGestureListener

ScaleGestureDetector.OnScaleGestureListener

ScaleGestureDetector(Context, OnScaleGestureListener, Handler)

public ScaleGestureDetector(Context arg0, ScaleGestureDetector.OnScaleGestureListener arg1, Handler arg2)

Parameters

arg0 Context

Context

arg1 ScaleGestureDetector.OnScaleGestureListener

ScaleGestureDetector.OnScaleGestureListener

arg2 Handler

Handler

ScaleGestureDetector(IJVMBridgeBaseInitializer)

Initializer used internally by JCOBridge. Do not use directly.

[Obsolete("This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public ScaleGestureDetector(IJVMBridgeBaseInitializer initializer)

Parameters

initializer IJVMBridgeBaseInitializer

Properties

BridgeClassName

Java class name to be instantiated

public override string BridgeClassName { get; }

Property Value

string

IsBridgeAbstract

true if the BridgeClassName is an abstract class, i.e. cannot be created an instance

public override bool IsBridgeAbstract { get; }

Property Value

bool

IsBridgeCloseable

true if the BridgeClassName implements java.lang.AutoCloseable

public override bool IsBridgeCloseable { get; }

Property Value

bool

IsBridgeInterface

true if the BridgeClassName is an interface, i.e. does not have any public constructor

public override bool IsBridgeInterface { get; }

Property Value

bool

IsBridgeStatic

true if the BridgeClassName is a static class, i.e. does not have any public constructor

public override bool IsBridgeStatic { get; }

Property Value

bool

Methods

CreatePoolableInstance(Context, OnScaleGestureListener)

HPA initializer for ScaleGestureDetector(Android.Content.Context arg0, Android.View.ScaleGestureDetector.OnScaleGestureListener arg1)

public static ScaleGestureDetector CreatePoolableInstance(Context arg0, ScaleGestureDetector.OnScaleGestureListener arg1)

Parameters

arg0 Context
arg1 ScaleGestureDetector.OnScaleGestureListener

Returns

ScaleGestureDetector

CreatePoolableInstance(Context, OnScaleGestureListener, Handler)

HPA initializer for ScaleGestureDetector(Android.Content.Context arg0, Android.View.ScaleGestureDetector.OnScaleGestureListener arg1, Android.Os.Handler arg2)

public static ScaleGestureDetector CreatePoolableInstance(Context arg0, ScaleGestureDetector.OnScaleGestureListener arg1, Handler arg2)

Parameters

arg0 Context
arg1 ScaleGestureDetector.OnScaleGestureListener
arg2 Handler

Returns

ScaleGestureDetector

GetCurrentSpan()

public float GetCurrentSpan()

Returns

float

float

GetCurrentSpanX()

public float GetCurrentSpanX()

Returns

float

float

GetCurrentSpanY()

public float GetCurrentSpanY()

Returns

float

float

GetEventTime()

public long GetEventTime()

Returns

long

long

GetFocusX()

public float GetFocusX()

Returns

float

float

GetFocusY()

public float GetFocusY()

Returns

float

float

GetPreviousSpan()

public float GetPreviousSpan()

Returns

float

float

GetPreviousSpanX()

public float GetPreviousSpanX()

Returns

float

float

GetPreviousSpanY()

public float GetPreviousSpanY()

Returns

float

float

GetScaleFactor()

public float GetScaleFactor()

Returns

float

float

GetTimeDelta()

public long GetTimeDelta()

Returns

long

long

IsInProgress()

public bool IsInProgress()

Returns

bool

bool

IsQuickScaleEnabled()

public bool IsQuickScaleEnabled()

Returns

bool

bool

IsStylusScaleEnabled()

public bool IsStylusScaleEnabled()

Returns

bool

bool

OnTouchEvent(MotionEvent)

public bool OnTouchEvent(MotionEvent arg0)

Parameters

arg0 MotionEvent

MotionEvent

Returns

bool

bool

SetQuickScaleEnabled(bool)

public void SetQuickScaleEnabled(bool arg0)

Parameters

arg0 bool

bool

SetStylusScaleEnabled(bool)

public void SetStylusScaleEnabled(bool arg0)

Parameters

arg0 bool

bool