語言

Camera.Parameters.SupportedPreviewFormats 屬性

定義

警告

deprecated

獲得支援的預覽格式。

[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>

屬性值

支援的預覽格式列表。 此方法總是回傳至少一個元素的清單。

屬性

備註

獲得支援的預覽格式。 android.graphics.ImageFormat#NV21 始終有支援。 android.graphics.ImageFormat#YV12 自 API 等級 12 起一直支援。

Java 文件 android.hardware.Camera.Parameters.getSupportedPreviewFormats()。

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於

另請參閱