Download Print this page

Constructor - Socket ScanAPI Reference Manual

Advertisement

Socket ScanAPI Reference
7) When the application is shutting down, it closes ScanAPI and it
releases ScanAPI ownership, unregisters from ScanAPI ownership.

19.1 Constructor

The ScanAPIOwnership object constructor requires the name of the application and
the notification interface implementation to receive the notification from ScanAPI
ownership change.
19.1.1
Syntax
C/C++:
Not available
Java:
SktScanApiOwnership(
Notification notification,
String applicationName
);
notification
[in] the implementation of the SktScanApiOwnership notification interface.
This parameter cannot be null.
applicationName
[in] the name of the application. This is to identify what application is taking
or releasing the ScanAPI ownership.
C#:
Not available.
Objective C:
Not available.
19.1.2
Return value
none
19.1.3
Remarks
The application won't receive any ScanAPI ownership change notification until it
calls the register method of this class.
19.1.4
Example
C/C++:
© 2013 Socket Mobile, Inc.
139/152

Advertisement

loading
Need help?

Need help?

Do you have a question about the ScanAPI and is the answer not in the manual?