Android.Hardware.Camera2.DngCreator.SetThumbnail Method
Set the thumbnail image.

Syntax

[Android.Runtime.Register("setThumbnail", "(Landroid/media/Image;)Landroid/hardware/camera2/DngCreator;", "")]
public DngCreator SetThumbnail (Android.Media.Image pixels)

Parameters

pixels
an Android.Media.Image object with the format Android.Graphics.ImageFormat.Yuv420888.

Returns

Documentation for this section has not yet been entered.

Exceptions

TypeReason
Java.Lang.IllegalArgumentExceptionif the given thumbnail image has a dimension larger than DngCreator.MaxThumbnailDimension.

Remarks

Set the thumbnail image.

Pixel data is interpreted as a Android.Graphics.ImageFormat.Yuv420888 image. Thumbnail images with a dimension larger than DngCreator.MaxThumbnailDimension will be rejected.

[Android Documentation]

Requirements

Namespace: Android.Hardware.Camera2
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0