Freigeben über


PowerManager.LowPowerStandbyAllowedReasonOngoingCall Field

Definition

Caution

This constant will be removed in the future version. Use Android.OS.LowPowerStandbyAllowedReasons enum directly instead of this field.

Exempts apps with ongoing calls.

[Android.Runtime.Register("LOW_POWER_STANDBY_ALLOWED_REASON_ONGOING_CALL", ApiSince=34)]
[System.Obsolete("This constant will be removed in the future version. Use Android.OS.LowPowerStandbyAllowedReasons enum directly instead of this field.", true)]
public const Android.OS.LowPowerStandbyAllowedReasons LowPowerStandbyAllowedReasonOngoingCall = 4;
[<Android.Runtime.Register("LOW_POWER_STANDBY_ALLOWED_REASON_ONGOING_CALL", ApiSince=34)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.OS.LowPowerStandbyAllowedReasons enum directly instead of this field.", true)>]
val mutable LowPowerStandbyAllowedReasonOngoingCall : Android.OS.LowPowerStandbyAllowedReasons

Field Value

Value = 4
Attributes

Remarks

Exempts apps with ongoing calls.

This includes apps with foreground services of type "phoneCall".

Java documentation for android.os.PowerManager.LOW_POWER_STANDBY_ALLOWED_REASON_ONGOING_CALL.

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