语言

WebAppQueryRequest.ResultInstalled 字段

定义

注意

This constant will be removed in the future version. Use Android.Content.PM.Webapp.WebAppQueryResultCode enum directly instead of this field.

查询包由 WebAppManager 以下任一应用安装:

        <ul>
          &lt;li&gt;The calling app holds <code data-dev-comment-type="c">android.Manifest.permission#QUERY_ALL_PACKAGES</code>
              permission.
[Android.Runtime.Register("RESULT_INSTALLED", ApiSince=37)]
[System.Obsolete("This constant will be removed in the future version. Use Android.Content.PM.Webapp.WebAppQueryResultCode enum directly instead of this field.", true)]
public const Android.Content.PM.Webapp.WebAppQueryResultCode ResultInstalled = 0;
[<Android.Runtime.Register("RESULT_INSTALLED", ApiSince=37)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Content.PM.Webapp.WebAppQueryResultCode enum directly instead of this field.", true)>]
val mutable ResultInstalled : Android.Content.PM.Webapp.WebAppQueryResultCode

字段值

Value = 0
特性

注解

查询的包由 WebAppManager 安装,以下任一应用:调用应用保留Manifest.permission.QUERY_ALL_PACKAGES权限;该包是通过 WebAppManager 通过调用应用安装的。

Android 参考。android.content.pm.webapp.WebAppQueryRequest.RESULT_INSTALLED

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

适用于