Share via


Camera.Parameters.SupportedPreviewFormats Property

Definition

Caution

deprecated

Gets the supported preview formats.

[System.Obsolete("deprecated")]
public virtual System.Collections.Generic.IList<Java.Lang.Integer>? SupportedPreviewFormats { [Android.Runtime.Register("getSupportedPreviewFormats", "()Ljava/util/List;", "GetGetSupportedPreviewFormatsHandler")] get; }
[<System.Obsolete("deprecated")>]
[<get: Android.Runtime.Register("getSupportedPreviewFormats", "()Ljava/util/List;", "GetGetSupportedPreviewFormatsHandler")>]
member this.SupportedPreviewFormats : System.Collections.Generic.IList<Java.Lang.Integer>

Property Value

a list of supported preview formats. This method will always return a list with at least one element.

Attributes

Remarks

Gets the supported preview formats. android.graphics.ImageFormat#NV21 is always supported. android.graphics.ImageFormat#YV12 is always supported since API level 12.

Java documentation for android.hardware.Camera.Parameters.getSupportedPreviewFormats().

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

See also