YuvImage Constructors

Definition

Overloads

YuvImage(IntPtr, JniHandleOwnership)

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

YuvImage(Byte[], ImageFormatType, Int32, Int32, Int32[])

Construct an YuvImage.

YuvImage(IntPtr, JniHandleOwnership)

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

protected YuvImage (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.Graphics.YuvImage : nativeint * Android.Runtime.JniHandleOwnership -> Android.Graphics.YuvImage

Parameters

javaReference
IntPtr

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

YuvImage(Byte[], ImageFormatType, Int32, Int32, Int32[])

Construct an YuvImage.

[Android.Runtime.Register(".ctor", "([BIII[I)V", "")]
public YuvImage (byte[]? yuv, Android.Graphics.ImageFormatType format, int width, int height, int[]? strides);
[<Android.Runtime.Register(".ctor", "([BIII[I)V", "")>]
new Android.Graphics.YuvImage : byte[] * Android.Graphics.ImageFormatType * int * int * int[] -> Android.Graphics.YuvImage

Parameters

yuv
Byte[]
width
Int32
height
Int32
strides
Int32[]
Attributes

Exceptions

if format is not support; width or height <= 0; or yuv 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