PowerManager.IsWakeLockLevelSupported(Int32) 方法

定义

如果支持指定的唤醒锁级别,则返回 true。

[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

参数

level
Int32

要检查的唤醒锁级别。

返回

如果支持指定的唤醒锁级别,则为 True。

属性

注解

如果支持指定的唤醒锁级别,则返回 true。

适用于 . 的 android.os.PowerManager.isWakeLockLevelSupported(int)Java 文档

本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。

适用于