Image.DataSpace Property

Definition

Get the dataspace associated with this frame. -or- Set the dataspace associated with this frame.

public virtual int DataSpace { [Android.Runtime.Register("getDataSpace", "()I", "GetGetDataSpaceHandler", ApiSince=33)] get; [Android.Runtime.Register("setDataSpace", "(I)V", "GetSetDataSpace_IHandler", ApiSince=33)] set; }
[<get: Android.Runtime.Register("getDataSpace", "()I", "GetGetDataSpaceHandler", ApiSince=33)>]
[<set: Android.Runtime.Register("setDataSpace", "(I)V", "GetSetDataSpace_IHandler", ApiSince=33)>]
member this.DataSpace : int with get, set

Property Value

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

Attributes

Remarks

Property getter documentation:

Get the dataspace associated with this frame.

Java documentation for android.media.Image.getDataSpace().

Property setter documentation:

Set the dataspace associated with this frame.

If dataspace for an image is not set, dataspace value depends on android.view.Surface that is provided in the ImageWriter constructor.

Java documentation for android.media.Image.setDataSpace(int).

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