YuvImage 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
| 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
- 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[]
- format
- ImageFormatType
- 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.