Intent.ExtraReturnResult 字段
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
用作带 #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_RESULT
Java 文档
本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。