PackageInstaller
InstallConstraints
InstallConstraintsResult
PreapprovalDetails
Session
SessionCallback
SessionInfo
SessionParams
ActionSessionCommitted
ActionSessionDetails
ActionSessionUpdated
ExtraInstallConstraints
ExtraInstallConstraintsResult
ExtraOtherPackageName
ExtraPackageName
ExtraPreApproval
ExtraSession
ExtraSessionId
ExtraStatus
ExtraStatusMessage
ExtraStoragePath
PackageSourceDownloadedFile
PackageSourceLocalFile
PackageSourceOther
PackageSourceStore
PackageSourceUnspecified
StatusFailureTimeout
PackageInstaller(IntPtr, JniHandleOwnership)
ActiveStagedSession
ActiveStagedSessions
AllSessions
JniPeerMembers
MySessions
StagedSessions
ThresholdClass
ThresholdType
AbandonSession(Int32)
CheckInstallConstraints(IList<String>, InstallConstraints, IExecutor, IConsumer)
CommitSessionAfterInstallConstraintsAreMet(Int32, IntentSender, InstallConstraints, Int64)
CreateSession(SessionParams)
GetSessionInfo(Int32)
InstallExistingPackage(String, InstallReason, IntentSender)
OpenSession(Int32)
RegisterSessionCallback(SessionCallback)
RegisterSessionCallback(SessionCallback, Handler)
Uninstall(String, IntentSender)
Uninstall(VersionedPackage, IntentSender)
Uninstall(VersionedPackage, Int32, IntentSender)
UninstallExistingPackage(String, IntentSender)
UnregisterSessionCallback(SessionCallback)
UpdateSessionAppIcon(Int32, Bitmap)
UpdateSessionAppLabel(Int32, ICharSequence)
UpdateSessionAppLabel(Int32, String)
WaitForInstallConstraints(IList<String>, InstallConstraints, IntentSender, Int64)
net9.0-android34.0
namespace Android.Content.PM
{
[Register("android/content/pm/PackageInstaller", DoNotGenerateAcw = true)]
public class PackageInstaller : Object
{
[Obsolete("This constant will be removed in the future version. Use Android.Content.PM.PackageSource enum directly instead of this field.", true)]
[Register("PACKAGE_SOURCE_STORE", ApiSince = 33)]
[SupportedOSPlatform("android33.0")]
public const PackageSource PackageSourceStore = PackageSource.Store;
}
}
.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.PackageSource enum directly instead of this field. |
Platform Restrictions | This API is only supported on the following platforms:
|
- Built-in API
- Package-provided API