ImageWriter.Builder.SetImageFormat(Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Set the image format of this ImageWriter.
[Android.Runtime.Register("setImageFormat", "(I)Landroid/media/ImageWriter$Builder;", "", ApiSince=33)]
public Android.Media.ImageWriter.Builder SetImageFormat(int imageFormat);
[<Android.Runtime.Register("setImageFormat", "(I)Landroid/media/ImageWriter$Builder;", "", ApiSince=33)>]
member this.SetImageFormat : int -> Android.Media.ImageWriter.Builder
Parameters
- imageFormat
- Int32
A supported image format, represented as the numeric value of ImageFormatType or Format.
Returns
the Builder instance with customized image format. This value cannot be null.
- Attributes
Exceptions
imageFormat is not a valid public image or pixel format.
Remarks
Set the image format of this ImageWriter. Default format depends on the Surface provided.
Android reference for android.media.ImageWriter.Builder.setImageFormat.
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.