Click or drag to resize

PackageInstallerSessionOpenSession Method

Call this method to start a session.

Namespace:  Com.Datalogic.Decode
Assembly:  datalogic-xamarin-sdk (in datalogic-xamarin-sdk.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
VB
public virtual int OpenSession ();

Return Value

Type: System.Int32
int PackageInstallerException.SUCCESS in case of success, otherwise a possible error code, matching one of the PackageInstallerException error constants.

Exceptions
Exception Condition
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 PackageInstallerListener.onResult(java.util.List<com.datalogic.device.app.PackageInstallerResult>) method.

[Android Documentation]

See Also

Reference