Socket ScanAPI Reference
property.setType(ISktScanProperty.types.
// get the friendly name here
// the final result should be fetched
// in the get complete handler
result=device.GetProperty(scanObj);
return
result;
}
Objective C:
// Get the device friendly name
-(SKTRESULT)GetFriendlyName{
SKTRESULT
Result=ESKT_NOERROR;
id<ISktScanObject>scanObj=nil;
// create a Scan Object
scanObj=[SktClassFactory
// fill out the Scan Object property to query the
// device friendly name
[[scanObj Property]setID:kSktScanPropIdFriendlyNameDevice];
[[scanObj Property]setType:kSktScanPropTypeNone];
// send the Get property message
Result=[_scanapi
getProperty:scanObj];
// release the scanObj as it is not needed anymore
[SktClassFactory
releaseScanObject:scanObj];
return
Result;
}
9.4.5 Function Information
C/C++
Header
Import library
Minimum operating systems
C#
Reference
Minimum operating systems
Java
Import
© 2013 Socket Mobile, Inc.
kSktScanPropIdFriendlyNameDevice);
kSktScanPropTypeNone);
createScanObject];
SktScanAPI.h, include SktScanErrors.h,
SktScanTypes.h
ScanAPI.lib
Windows XP, Windows Mobile 5.0
ScanAPIManaged.dll for Windows or
ScanAPIManagedWM.dll for Windows
Mobile
Windows XP, Windows Mobile 5.0
com.SocketMobile.ScanAPI.ISktScanApi
com.SocketMobile.ScanAPI.SktClassFactory
55/152
Need help?
Do you have a question about the ScanAPI and is the answer not in the manual?