CpuHeadroomParams.Builder.SetCalculationType(Int32) Method

Definition

Sets the headroom calculation type.

[Android.Runtime.Register("setCalculationType", "(I)Landroid/os/CpuHeadroomParams$Builder;", "", ApiSince=36)]
public Android.OS.CpuHeadroomParams.Builder SetCalculationType(int calculationType);
[<Android.Runtime.Register("setCalculationType", "(I)Landroid/os/CpuHeadroomParams$Builder;", "", ApiSince=36)>]
member this.SetCalculationType : int -> Android.OS.CpuHeadroomParams.Builder

Parameters

calculationType
Int32

Value is one of the following: CpuHeadroomParams.CPU_HEADROOM_CALCULATION_TYPE_MIN CpuHeadroomParams.CPU_HEADROOM_CALCULATION_TYPE_AVERAGE

Returns

The returned value is non-null.

Attributes

Remarks

Sets the headroom calculation type.

Java documentation for android.os.CpuHeadroomParams.Builder.setCalculationType(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.

Applies to