GpuHeadroomParams.Builder.SetCalculationWindowMillis(Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Sets the headroom calculation window size in milliseconds.
[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
Parameters
- windowMillis
- Int32
the window size in milliseconds ranges from SystemHealthManager.getGpuHeadroomCalculationWindowRange() . The smaller the window size, the larger fluctuation in the headroom value should be expected. The default value can be retrieved from the GpuHeadroomParams.getCalculationWindowMillis . The device will try to use the closest feasible window size to this param. Value is 1 or greater
Returns
The returned value is non-null.
- Attributes
Remarks
Sets the headroom calculation window size in milliseconds.
Java documentation for android.os.GpuHeadroomParams.Builder.setCalculationWindowMillis(int).
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.