語言

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) 此安裝需要使用者操作。

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

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

適用於