共用方式為


PowerManager.IsExemptFromLowPowerStandby Property

Definition

Returns true if the calling package is exempt from Low Power Standby restrictions or Low Power Standby is disabled (so Low Power Standby does not restrict apps), false otherwise.

public virtual bool IsExemptFromLowPowerStandby { [Android.Runtime.Register("isExemptFromLowPowerStandby", "()Z", "GetIsExemptFromLowPowerStandbyHandler", ApiSince=34)] get; }
[<get: Android.Runtime.Register("isExemptFromLowPowerStandby", "()Z", "GetIsExemptFromLowPowerStandbyHandler", ApiSince=34)>]
member this.IsExemptFromLowPowerStandby : bool

Property Value

Attributes

Remarks

Returns true if the calling package is exempt from Low Power Standby restrictions or Low Power Standby is disabled (so Low Power Standby does not restrict apps), false otherwise.

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

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