語言

PackageInstaller.SessionParams.PermissionStateDenied 欄位

定義

警告

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

安裝程式會傳遞 值 #setPermissionState(String, int) 來設定權限的狀態。

[Android.Runtime.Register("PERMISSION_STATE_DENIED", ApiSince=34)]
[System.Obsolete("This constant will be removed in the future version. Use Android.Content.PM.PackageInstallerPermissionState enum directly instead of this field.", true)]
public const Android.Content.PM.PackageInstallerPermissionState PermissionStateDenied = 2;
[<Android.Runtime.Register("PERMISSION_STATE_DENIED", ApiSince=34)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Content.PM.PackageInstallerPermissionState enum directly instead of this field.", true)>]
val mutable PermissionStateDenied : Android.Content.PM.PackageInstallerPermissionState

欄位值

Value = 2

實作

屬性

備註

安裝程式會傳遞 值 #setPermissionState(String, int) 來設定權限的狀態。 這表示安裝程式預設想要拒絕安裝套件的權限。 使用者及系統中的其他參與者在安裝後仍可能授予該權限。

Java 文件 android.content.pm.PackageInstaller.SessionParams.PERMISSION_STATE_DENIED。

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於