GpuHeadroomParams.Builder.SetCalculationWindowMillis(Int32) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
將餘裕計算視窗大小設定為毫秒。
[Android.Runtime.Register("setCalculationWindowMillis", "(I)Landroid/os/GpuHeadroomParams$Builder;", "", ApiSince=36)]
public Android.OS.GpuHeadroomParams.Builder SetCalculationWindowMillis(int windowMillis);
[<Android.Runtime.Register("setCalculationWindowMillis", "(I)Landroid/os/GpuHeadroomParams$Builder;", "", ApiSince=36)>]
member this.SetCalculationWindowMillis : int -> Android.OS.GpuHeadroomParams.Builder
參數
- windowMillis
- Int32
視窗大小(毫秒級)範圍來自 SystemHealthManager.getGpuHeadroomCalculationWindowRange()。 視窗越小,餘裕值波動越大。 預設值可從 GpuHeadroomParams.getCalculationWindowMillis 取得。 裝置會嘗試使用最接近這個參數的可行視窗大小。 值為1或以上
傳回
回傳的值為非空值。
- 屬性
備註
將餘裕計算視窗大小設定為毫秒。
Java 文件 android.os.GpuHeadroomParams.Builder.setCalculationWindowMillis(int)。
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。