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
The format of the ImageWriter. It can be any valid specified by ImageFormat or PixelFormat.
Returns
the Builder instance with customized image format. This value cannot be null.
- Attributes
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.