다음을 통해 공유


Intent.ActionPackageDataCleared Field

Definition

Broadcast Action: The user has cleared the data of a package.

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

Field Value

Implements

Attributes

Remarks

Broadcast Action: The user has cleared the data of a package. This should be preceded by #ACTION_PACKAGE_RESTARTED, after which all of its persistent data is erased and this broadcast sent. Note that the cleared package does <em>not</em> receive this broadcast. The data contains the name of the package. <ul> <li> #EXTRA_UID containing the integer uid assigned to the package. If the package whose data was cleared is an uninstalled instant app, then the UID will be -1. The platform keeps some meta-data associated with instant apps after they are uninstalled. <li> #EXTRA_PACKAGE_NAME containing the package name only if the cleared data was for an instant app. </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_DATA_CLEARED.

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