Udostępnij za pośrednictwem


PowerManager.IsSustainedPerformanceModeSupported Property

Definition

This function checks if the device has implemented Sustained Performance Mode.

public virtual bool IsSustainedPerformanceModeSupported { [Android.Runtime.Register("isSustainedPerformanceModeSupported", "()Z", "GetIsSustainedPerformanceModeSupportedHandler", ApiSince=24)] get; }
[<get: Android.Runtime.Register("isSustainedPerformanceModeSupported", "()Z", "GetIsSustainedPerformanceModeSupportedHandler", ApiSince=24)>]
member this.IsSustainedPerformanceModeSupported : bool

Property Value

Returns True if the device supports it, false otherwise.

Attributes

Remarks

This function checks if the device has implemented Sustained Performance Mode. This needs to be checked only once and is constant for a particular device/release.

Sustained Performance Mode is intended to provide a consistent level of performance for prolonged amount of time.

Applications should check if the device supports this mode, before using android.view.Window#setSustainedPerformanceMode.

Java documentation for android.os.PowerManager.isSustainedPerformanceModeSupported().

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