PowerManager.IsWakeLockLevelSupported(Int32) Method

Definition

Returns true if the specified wake lock level is supported.

[Android.Runtime.Register("isWakeLockLevelSupported", "(I)Z", "GetIsWakeLockLevelSupported_IHandler")]
public virtual bool IsWakeLockLevelSupported (int level);
[<Android.Runtime.Register("isWakeLockLevelSupported", "(I)Z", "GetIsWakeLockLevelSupported_IHandler")>]
abstract member IsWakeLockLevelSupported : int -> bool
override this.IsWakeLockLevelSupported : int -> bool

Parameters

level
Int32

The wake lock level to check.

Returns

True if the specified wake lock level is supported.

Attributes

Remarks

Returns true if the specified wake lock level is supported.

Java documentation for android.os.PowerManager.isWakeLockLevelSupported(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