Condividi tramite


Intent.ActionPowerDisconnected Field

Definition

Broadcast Action: External power has been removed from the device.

[Android.Runtime.Register("ACTION_POWER_DISCONNECTED")]
public const string ActionPowerDisconnected;
[<Android.Runtime.Register("ACTION_POWER_DISCONNECTED")>]
val mutable ActionPowerDisconnected : string

Field Value

Implements

Attributes

Remarks

Broadcast Action: External power has been removed from the device. This is intended for applications that wish to register specifically to this notification. Unlike ACTION_BATTERY_CHANGED, applications will be woken for this and so do not have to stay active to receive this notification. This action can be used to implement actions that wait until power is available to trigger.

<p class="note">This is a protected intent that can only be sent by the system.

Java documentation for android.content.Intent.ACTION_POWER_DISCONNECTED.

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