ImageFormat.Private 欄位
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
警告
This constant will be removed in the future version. Use Android.Graphics.ImageFormatType enum directly instead of this field.
Android 私有不透明影像格式。
[Android.Runtime.Register("PRIVATE", ApiSince=23)]
[System.Obsolete("This constant will be removed in the future version. Use Android.Graphics.ImageFormatType enum directly instead of this field.", true)]
public const Android.Graphics.ImageFormatType Private = 34;
[<Android.Runtime.Register("PRIVATE", ApiSince=23)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Graphics.ImageFormatType enum directly instead of this field.", true)>]
val mutable Private : Android.Graphics.ImageFormatType
欄位值
Value = 34- 屬性
備註
Android 私有不透明影像格式。
實際格式與像素資料配置的選擇完全取決於裝置特定及框架內部實作,且即使針對同一裝置,也可能因使用情境而異。 此格式的緩衝區可由元件 android.media.ImageWriter ImageWriter 如 產生,並由使用者 android.hardware.camera2.CameraDevice CameraDevice 根據裝置/框架的私人資訊正確解讀。 然而,這些緩衝區無法直接被應用程式存取。
當從 或 android.media.ImageWriter ImageWriter取得android.media.ImageReader ImageReader此格式的 時android.media.Image Image,該android.media.Image#getPlanes() getPlanes()方法會回傳一個空android.media.Image.Plane Plane陣列。
若此格式的緩衝區被用作 OpenGL ES 材質,框架會假設取樣該材質時,回傳的 alpha 值總是為 1.0(即緩衝區僅包含不透明的像素值)。
Java 文件 android.graphics.ImageFormat.PRIVATE。
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。