StreamConfigurationMap.GetOutputFormats 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得此串流配置中的影像 format 輸出格式。
[Android.Runtime.Register("getOutputFormats", "()[I", "")]
public int[]? GetOutputFormats();
[<Android.Runtime.Register("getOutputFormats", "()[I", "")>]
member this.GetOutputFormats : unit -> int[]
傳回
Int32[]
一個整數格式的陣列
- 屬性
備註
取得此串流配置中的影像 format 輸出格式。
此函數回傳的所有影像格式都會在 或 中PixelFormat定義ImageFormat(且不存在碰撞)。
此陣列中列出的格式若以 #isOutputSupportedFor(int)查詢,保證回傳 true。
Java 文件 android.hardware.camera2.params.StreamConfigurationMap.getOutputFormats()。
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。