PowerManager.IsSustainedPerformanceModeSupported 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
此函数检查设备是否已实现持续性能模式。
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
属性值
如果设备支持,则返回 True,否则返回 false。
- 特性
注解
此函数检查设备是否已实现持续性能模式。 这只需要检查一次,并且对于特定设备/版本而言是常量。
持续性能模式旨在为长时间提供一致的性能级别。
应用程序应在使用 android.view.Window#setSustainedPerformanceMode之前检查设备是否支持此模式。
Java文档android.os.PowerManager.isSustainedPerformanceModeSupported()。
本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。