共用方式為


Intent.ActionPackageRemoved Field

Definition

Broadcast Action: An existing application package has been removed from the device.

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

Field Value

Implements

Attributes

Remarks

Broadcast Action: An existing application package has been removed from the device. The data contains the name of the package. The package that is being removed does <em>not</em> receive this Intent. <ul> <li> #EXTRA_UID containing the integer uid previously assigned to the package. <li> #EXTRA_DATA_REMOVED is set to true if the entire application -- data and code -- is being removed. <li> #EXTRA_REPLACING is set to true if this will be followed by an #ACTION_PACKAGE_ADDED broadcast for the same package. <li> #EXTRA_USER_INITIATED containing boolean field to signal that the application was removed with the user-initiated action. </ul>

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

Java documentation for android.content.Intent.ACTION_PACKAGE_REMOVED.

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