Intent.ExtraReturnResult 字段

定义

用作带 #ACTION_INSTALL_PACKAGE#ACTION_UNINSTALL_PACKAGE. 的布尔额外字段。

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

字段值

实现

属性

注解

用作带 #ACTION_INSTALL_PACKAGE#ACTION_UNINSTALL_PACKAGE. 的布尔额外字段。 指定安装程序 UI 应返回应用程序安装/卸载的结果代码。 返回的结果代码将 android.app.Activity#RESULT_OK 成功或 android.app.Activity#RESULT_FIRST_USER 失败。

适用于 . 的 android.content.Intent.EXTRA_RETURN_RESULTJava 文档

本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。

适用于