Camera.Size 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
| 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
- 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.