Language

HardwareBuffer.Format Property

Definition

Returns the

public Android.Hardware.HardwareBufferFormat Format { [Android.Runtime.Register("getFormat", "()I", "", ApiSince=26)] get; }
[<get: Android.Runtime.Register("getFormat", "()I", "", ApiSince=26)>]
member this.Format : Android.Hardware.HardwareBufferFormat

Property Value

Value is one of the following: RGBA_8888; RGBA_FP16; RGBA_1010102; RGBX_8888; RGB_888; RGB_565; BLOB; YCBCR_420_888; D_16; D_24; DS_24UI8; D_FP32; DS_FP32UI8; S_UI8; YCBCR_P010; YCBCR_P210; R_8; R_16; RG_1616; RGBA_10101010; R_12; R_14; RG_1212; RG_1414; RGBA_12121212; RGBA_14141414; BGRA_1010102; BGRX_1010102

Attributes

Remarks

Returns the

Java documentation for android.hardware.HardwareBuffer.getFormat().

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