PackageInstaller.SessionParams.PermissionStateDefault 欄位
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
警告
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_DEFAULT", 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 PermissionStateDefault = 0;
[<Android.Runtime.Register("PERMISSION_STATE_DEFAULT", 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 PermissionStateDefault : Android.Content.PM.PackageInstallerPermissionState
欄位值
Value = 0實作
- 屬性
備註
安裝程式會傳遞 值 #setPermissionState(String, int) 來設定權限的狀態。 這表示安裝商沒有偏好,而是依賴裝置的預設政策來設定授權狀態。
Java 文件 android.content.pm.PackageInstaller.SessionParams.PERMISSION_STATE_DEFAULT。
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。