Udostępnij za pośrednictwem


Intent.ActionPackageReplaced Field

Definition

Broadcast Action: A new version of an application package has been installed, replacing an existing version that was previously installed.

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

Field Value

Implements

Attributes

Remarks

Broadcast Action: A new version of an application package has been installed, replacing an existing version that was previously installed. The data contains the name of the package.

May include the following extras: <ul> <li> #EXTRA_UID containing the integer uid assigned to the new package. </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_REPLACED.

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