Lingua

ImageWriter.Builder.SetDataSpace(Int32) Method

Definition

Set the dataspace of this ImageWriter.

[Android.Runtime.Register("setDataSpace", "(I)Landroid/media/ImageWriter$Builder;", "", ApiSince=33)]
public Android.Media.ImageWriter.Builder SetDataSpace(int dataSpace);
[<Android.Runtime.Register("setDataSpace", "(I)Landroid/media/ImageWriter$Builder;", "", ApiSince=33)>]
member this.SetDataSpace : int -> Android.Media.ImageWriter.Builder

Parameters

dataSpace
Int32

The dataspace of the image that this writer will produce. Value is either 0 or a combination of the following: DataSpace.DATASPACE_DEPTH DataSpace.DATASPACE_DYNAMIC_DEPTH DataSpace.DATASPACE_HEIF DataSpace.DATASPACE_HEIF_ULTRAHDR DataSpace.DATASPACE_JPEG_R DataSpace.DATASPACE_UNKNOWN DataSpace.DATASPACE_SCRGB_LINEAR DataSpace.DATASPACE_SRGB DataSpace.DATASPACE_SCRGB DataSpace.DATASPACE_DISPLAY_P3 DataSpace.DATASPACE_BT2020_HLG DataSpace.DATASPACE_BT2020_PQ DataSpace.DATASPACE_ADOBE_RGB DataSpace.DATASPACE_JFIF DataSpace.DATASPACE_BT601_625 DataSpace.DATASPACE_BT601_525 DataSpace.DATASPACE_BT2020 DataSpace.DATASPACE_BT709 DataSpace.DATASPACE_DCI_P3 DataSpace.DATASPACE_SRGB_LINEAR DataSpace.DATASPACE_DISPLAY_BT2020

Returns

the builder instance with customized dataspace value. This value cannot be null.

Attributes

Remarks

Set the dataspace of this ImageWriter. The default value is DataSpace.DATASPACE_UNKNOWN.

Android reference for android.media.ImageWriter.Builder.setDataSpace.

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