SurfaceTexture.DataSpace Property

Definition

Retrieve the dataspace associated with the texture image set by the most recent call to #updateTexImage.

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

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

Retrieve the dataspace associated with the texture image set by the most recent call to #updateTexImage.

Java documentation for android.graphics.SurfaceTexture.getDataSpace().

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