Condividi tramite


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

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