ImageWriter.Format Property

Definition

Get the ImageWriter format.

public virtual Android.Graphics.ImageFormatType Format { [Android.Runtime.Register("getFormat", "()I", "GetGetFormatHandler", ApiSince=23)] get; }
[<get: Android.Runtime.Register("getFormat", "()I", "GetGetFormatHandler", ApiSince=23)>]
member this.Format : Android.Graphics.ImageFormatType

Property Value

The ImageWriter format.

Attributes

Remarks

Get the ImageWriter format.

This format may be different than the Image format returned by Image#getFormat(). However, if the ImageWriter format is ImageFormat#PRIVATE PRIVATE, calling #dequeueInputImage() will result in an IllegalStateException.

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