共用方式為


PackageInstaller.SessionParams.UserActionRequired 欄位

定義

警告

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

安裝程式會傳遞此值, SessionParams#setRequireUserAction(int) 指出此安裝需要用戶動作。

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

欄位值

Value = 1

實作

屬性

備註

安裝程式會傳遞此值, SessionParams#setRequireUserAction(int) 指出此安裝需要用戶動作。

android.content.pm.PackageInstaller.SessionParams.USER_ACTION_REQUIREDJava 檔。

此頁面的部分是根據 Android 開放原始碼專案所建立和共用的工作進行修改,並根據 Creative Commons 2.5 屬性授權中所述的詞彙使用。

適用於