Click or drag to resize

PackageInstallerSessionCloseSession Method

Call this method to execute the commands queued in the 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 CloseSession()

Return Value

Type: Int32

[Missing <returns> documentation for "M:Com.Datalogic.Device.App.PackageInstallerSession.CloseSession"]

Remarks

Call this method to execute the commands queued in the session.

The commands will be executed in best effort.

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

method. Do not suspend the UIThread while waiting for the result of the method otherwise an application’s deadlock can occur.

[Android Documentation]

See Also