Udostępnij za pośrednictwem


Intent.ExtraReturnResult Field

Definition

Used as a boolean extra field with #ACTION_INSTALL_PACKAGE or #ACTION_UNINSTALL_PACKAGE.

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

Field Value

Implements

Attributes

Remarks

Used as a boolean extra field with #ACTION_INSTALL_PACKAGE or #ACTION_UNINSTALL_PACKAGE. Specifies that the installer UI should return to the application the result code of the install/uninstall. The returned result code will be android.app.Activity#RESULT_OK on success or android.app.Activity#RESULT_FIRST_USER on failure.

Java documentation for android.content.Intent.EXTRA_RETURN_RESULT.

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