Android.Content.PM.PackageInstaller Members

The members of Android.Content.PM.PackageInstaller are listed below.

See Also: Inherited members from Java.Lang.Object

Protected Constructors

A constructor used when creating managed representations of JNI objects; called by the runtime.

Public Fields

const
ActionSessionDetailsstring. Activity Action: Show details about a particular install session.
const
ExtraOtherPackageNamestring. Another package name relevant to a status.
const
ExtraPackageNamestring. Package name that an operation is working with.
const
ExtraSessionIdstring. An integer session ID that an operation is working with.
const
ExtraStatusstring. Current status of an operation.
const
ExtraStatusMessagestring. Detailed string representation of the status, including raw details that are useful for debugging.
const
ExtraStoragePathstring. Storage path relevant to a status.

Public Properties

[read-only]
AllSessionsIList<PackageInstaller.SessionInfo>. Return list of all known install sessions, regardless of the installer.
[read-only]
MySessionsIList<PackageInstaller.SessionInfo>. Return list of all known install sessions owned by the calling app.

Protected Properties

[read-only]
override
ThresholdClassIntPtr. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.
[read-only]
override
ThresholdTypeType. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

Public Methods

AbandonSession(int)
Completely abandon the given session, destroying all staged data and rendering it invalid.
CreateSession(PackageInstaller.SessionParams) : int
Create a new session using the given parameters, returning a unique ID that represents the session.
GetSessionInfo(int) : PackageInstaller.SessionInfo
Return details for a specific session.
OpenSession(int) : PackageInstaller.Session
Open an existing session to actively perform work.
RegisterSessionCallback(PackageInstaller.SessionCallback)
Register to watch for session lifecycle events.
RegisterSessionCallback(PackageInstaller.SessionCallback, Android.OS.Handler)
Register to watch for session lifecycle events.
Uninstall(string, Android.Content.IntentSender)
Uninstall the given package, removing it completely from the device.
UnregisterSessionCallback(PackageInstaller.SessionCallback)
Unregister a previously registered callback.
UpdateSessionAppIcon(int, Android.Graphics.Bitmap)
Update the icon representing the app being installed in a specific session.
UpdateSessionAppLabel(int, Java.Lang.ICharSequence)
Update the label representing the app being installed in a specific session.
UpdateSessionAppLabel(int, string)
Documentation for this section has not yet been entered.