Click or drag to resize

PackageInstallerSessionOpenSession Method

Call this method to start a session.

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 int OpenSession()

Return Value

Type: Int32
intSuccess in case of success, otherwise a possible error code, matching one of the PackageInstallerException error constants.
Exceptions
ExceptionCondition
PackageInstallerException - in case of error, when exceptions are enabled through the ErrorManager singleton.
Remarks

Call this method to start a session.

After this method, call the commands install, uninstall, upgrade to be executed.

The commands will be queued and executed only when the closeSession() method is called.

The commands will be executed in best effort.

The results of each command will be delivered in a unique ordered list through the [M:Com.Datalogic.Device.App.IPackageInstallerListener.OnResult(System.Collections.Generic.IList`1)]

method.

[Android Documentation]

See Also