Language

Camera.Size Constructors

Definition

Overloads

Name Description
Camera.Size(IntPtr, JniHandleOwnership)

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

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

Creates an image size with the specified width and height.

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

Creates an image size with the specified width and height.

[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

The enclosing camera instance.

w
Int32

The image width in pixels.

h
Int32

The image height in pixels.

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