Partager via


Camera.Area Constructors

Definition

Overloads

Camera.Area(Rect, Int32)
Obsolete.

Create an area with specified rectangle and weight.

Camera.Area(IntPtr, JniHandleOwnership)

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

Camera.Area(Rect, Int32)

Caution

deprecated

Create an area with specified rectangle and weight.

[Android.Runtime.Register(".ctor", "(Landroid/graphics/Rect;I)V", "")]
[System.Obsolete("deprecated")]
public Area (Android.Graphics.Rect? rect, int weight);
[<Android.Runtime.Register(".ctor", "(Landroid/graphics/Rect;I)V", "")>]
[<System.Obsolete("deprecated")>]
new Android.Hardware.Camera.Area : Android.Graphics.Rect * int -> Android.Hardware.Camera.Area

Parameters

rect
Rect

the bounds of the area.

weight
Int32

the weight of the area.

Attributes

Remarks

Create an area with specified rectangle and weight.

Java documentation for android.hardware.Camera.Area.Camera$Area(android.graphics.Rect, int).

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.Area(IntPtr, JniHandleOwnership)

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

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

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