Partager via


Camera.Size Constructors

Definition

Overloads

Camera.Size(IntPtr, JniHandleOwnership)

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

Camera.Size(Camera, Int32, Int32)
Obsolete.

Camera.Size(IntPtr, JniHandleOwnership)

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

protected Size (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.Hardware.Camera.Size : nativeint * Android.Runtime.JniHandleOwnership -> Android.Hardware.Camera.Size

Parameters

javaReference
IntPtr

nativeint

A IntPtrcontaining a Java Native Interface (JNI) object reference.

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

Camera.Size(Camera, Int32, Int32)

Caution

deprecated

[Android.Runtime.Register(".ctor", "(Landroid/hardware/Camera;II)V", "")]
[System.Obsolete("deprecated")]
public Size (Android.Hardware.Camera? __self, int w, int h);
[<Android.Runtime.Register(".ctor", "(Landroid/hardware/Camera;II)V", "")>]
[<System.Obsolete("deprecated")>]
new Android.Hardware.Camera.Size : Android.Hardware.Camera * int * int -> Android.Hardware.Camera.Size

Parameters

__self
Camera
w
Int32
h
Int32
Attributes

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