SessionParams
InterfaceConsts
PermissionStateDefault
PermissionStateDenied
PermissionStateGranted
UserActionNotRequired
UserActionRequired
UserActionUnspecified
SessionParams(PackageInstallMode)
SessionParams(IntPtr, JniHandleOwnership)
Creator
JniPeerMembers
RestrictedPermissionsAll
ThresholdClass
ThresholdType
DescribeContents()
SetAppIcon(Bitmap)
SetAppLabel(ICharSequence)
SetAppLabel(String)
SetApplicationEnabledSettingPersistent()
SetAppPackageName(String)
SetAutoRevokePermissionsMode(Boolean)
SetDontKillApp(Boolean)
SetInstallerPackageName(String)
SetInstallLocation(PackageInstallLocation)
SetInstallReason(PackageInstallReason)
SetInstallScenario(Int32)
SetMultiPackage()
SetOriginatingUid(Int32)
SetOriginatingUri(Uri)
SetPackageSource(Int32)
SetPermissionState(String, PackageInstallerPermissionState)
SetReferrerUri(Uri)
SetRequestUpdateOwnership(Boolean)
SetRequireUserAction(Int32)
SetSize(Int64)
SetWhitelistedRestrictedPermissions(ICollection<String>)
WriteToParcel(Parcel, ParcelableWriteFlags)
net9.0-android34.0
namespace Android.Content.PM
{
[Register("android/content/pm/PackageInstaller", DoNotGenerateAcw = true)]
public class PackageInstaller : Object
{
[Register("android/content/pm/PackageInstaller$SessionParams", DoNotGenerateAcw = true)]
public class SessionParams : Object, IParcelable, IJavaObject, IJavaPeerable, IDisposable
{
[Obsolete("This constant will be removed in the future version. Use Android.Content.PM.PackageInstallUserAction enum directly instead of this field.", true)]
[Register("USER_ACTION_REQUIRED", ApiSince = 31)]
[SupportedOSPlatform("android31.0")]
public const PackageInstallUserAction UserActionRequired = PackageInstallUserAction.Required;
}
}
}
.NET | 6.07.08.09.0 |
---|---|
Information specific to net9.0 | |
Platforms | This API is only available when you target a specific platform: |
Android | 21.022.023.024.025.026.027.028.029.030.031.032.033.034.0 |
Information specific to net9.0-android34.0 | |
Assembly | Mono.Android , Version=0.0.0.0, PublicKeyToken=84e04ff9cfb79065 |
Referencing | The API is automatically referenced. |
Obsolete | This constant will be removed in the future version. Use Android.Content.PM.PackageInstallUserAction enum directly instead of this field. |
Platform Restrictions | This API is only supported on the following platforms:
|
- Built-in API
- Package-provided API