ScaleGestureDetector Constructors
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.
Overloads
ScaleGestureDetector(Context, ScaleGestureDetector+IOnScaleGestureListener) |
Creates a ScaleGestureDetector with the supplied listener. |
ScaleGestureDetector(IntPtr, JniHandleOwnership) |
A constructor used when creating managed representations of JNI objects; called by the runtime. |
ScaleGestureDetector(Context, ScaleGestureDetector+IOnScaleGestureListener, Handler) |
Creates a ScaleGestureDetector with the supplied listener. |
ScaleGestureDetector(Context, ScaleGestureDetector+IOnScaleGestureListener)
Creates a ScaleGestureDetector with the supplied listener.
[Android.Runtime.Register(".ctor", "(Landroid/content/Context;Landroid/view/ScaleGestureDetector$OnScaleGestureListener;)V", "")]
public ScaleGestureDetector (Android.Content.Context context, Android.Views.ScaleGestureDetector.IOnScaleGestureListener listener);
[<Android.Runtime.Register(".ctor", "(Landroid/content/Context;Landroid/view/ScaleGestureDetector$OnScaleGestureListener;)V", "")>]
new Android.Views.ScaleGestureDetector : Android.Content.Context * Android.Views.ScaleGestureDetector.IOnScaleGestureListener -> Android.Views.ScaleGestureDetector
Parameters
- context
- Context
the application's context
the listener invoked for all the callbacks, this must not be null.
- Attributes
Exceptions
if listener
is null.
Remarks
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
ScaleGestureDetector(IntPtr, JniHandleOwnership)
A constructor used when creating managed representations of JNI objects; called by the runtime.
protected ScaleGestureDetector (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.Views.ScaleGestureDetector : nativeint * Android.Runtime.JniHandleOwnership -> Android.Views.ScaleGestureDetector
Parameters
- transfer
- JniHandleOwnership
A JniHandleOwnershipindicating how to handle javaReference
Remarks
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
ScaleGestureDetector(Context, ScaleGestureDetector+IOnScaleGestureListener, Handler)
Creates a ScaleGestureDetector with the supplied listener.
[Android.Runtime.Register(".ctor", "(Landroid/content/Context;Landroid/view/ScaleGestureDetector$OnScaleGestureListener;Landroid/os/Handler;)V", "")]
public ScaleGestureDetector (Android.Content.Context context, Android.Views.ScaleGestureDetector.IOnScaleGestureListener listener, Android.OS.Handler? handler);
[<Android.Runtime.Register(".ctor", "(Landroid/content/Context;Landroid/view/ScaleGestureDetector$OnScaleGestureListener;Landroid/os/Handler;)V", "")>]
new Android.Views.ScaleGestureDetector : Android.Content.Context * Android.Views.ScaleGestureDetector.IOnScaleGestureListener * Android.OS.Handler -> Android.Views.ScaleGestureDetector
Parameters
- context
- Context
the application's context
the listener invoked for all the callbacks, this must not be null.
- handler
- Handler
- Attributes
Exceptions
if listener
is null.
Remarks
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.