Share via


ImageWriter.HardwareBufferFormat Property

Definition

Get the ImageWriter hardwareBuffer format.

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 ImageWriter hardwareBuffer format.

Attributes

Remarks

Get the ImageWriter hardwareBuffer format.

Use this function if the ImageWriter instance is created by builder pattern ImageWriter.Builder and using Builder#setHardwareBufferFormat and Builder#setDataSpace.

Java documentation for android.media.ImageWriter.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