PackageInstallerCreateSession Method |
Namespace:
Com.Datalogic.Device.App
Assembly:
datalogic-xamarin-sdk (in datalogic-xamarin-sdk.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax public virtual PackageInstallerSession CreateSession(
IPackageInstallerListener listener
)
Public Overridable Function CreateSession (
listener As IPackageInstallerListener
) As PackageInstallerSession
Parameters
- listener
- Type: Com.Datalogic.Device.AppIPackageInstallerListener
- IPackageInstallerListener instance that implements
the method [M:Com.Datalogic.Device.App.IPackageInstallerListener.OnResult(System.Collections.Generic.IList`1)] to handle the result of methods executed in the session.
Return Value
Type:
PackageInstallerSessionintSuccess in case of success,
otherwise a possible error code, matching one of the
PackageInstallerException error constants.
Exceptions Remarks Call this method to create a PackageInstallerSession
object.
The method can be used to request a session on which it will be possible
to group the execution of a sequence of install/uninstall/upgrade commands.
[Android Documentation]
See Also