Share via


ImageReader.HardwareBufferFormat Property

Definition

The default HardwareBuffer format of Image Images.

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

Property Value

the expected HardwareBuffer format of an Image.

Attributes

Remarks

The default HardwareBuffer format of Image Images.

Use this function if the ImageReader instance is created by builder pattern ImageReader.Builder and using Builder#setDefaultHardwareBufferFormat and Builder#setDefaultDataSpace.

Java documentation for android.media.ImageReader.getHardwareBufferFormat().

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