Udostępnij za pośrednictwem


Intent.ActionInstallFailure Field

Definition

Activity Action: Activity to handle split installation failures.

[Android.Runtime.Register("ACTION_INSTALL_FAILURE", ApiSince=27)]
public const string ActionInstallFailure;
[<Android.Runtime.Register("ACTION_INSTALL_FAILURE", ApiSince=27)>]
val mutable ActionInstallFailure : string

Field Value

Implements

Attributes

Remarks

Activity Action: Activity to handle split installation failures.

Splits may be installed dynamically. This happens when an Activity is launched, but the split that contains the application isn't installed. When a split is installed in this manner, the containing package usually doesn't know this is happening. However, if an error occurs during installation, the containing package can define a single activity handling this action to deal with such failures.

The activity handling this action must be in the base package.

Input: #EXTRA_INTENT the original intent that started split installation. #EXTRA_SPLIT_NAME the name of the split that failed to be installed.

Java documentation for android.content.Intent.ACTION_INSTALL_FAILURE.

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