Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
en:sdk_api [2018/12/24 14:48] jbkim [getFirmwareFileList] |
en:sdk_api [2019/07/17 17:01] (current) jbkim [setCardType] |
||
---|---|---|---|
Line 28: | Line 28: | ||
\\ | \\ | ||
- | =====getVersion===== | + | =====getVersions===== |
- | Get the SDK/Firmware version. | + | Get the SDK/Firmware versions. |
<code java> | <code java> | ||
- | int getVersion(Version version) | + | int getVersions(Versions versions) |
</code> | </code> | ||
===Parameters=== | ===Parameters=== | ||
- | * ''version'' : SDK/Firmware version | + | * ''versions'' : version information(SDK / Firmware / Fingerprint library / Card library) |
<callout type="info"> | <callout type="info"> | ||
[[references#Version|Refer to Version Class]] | [[references#Version|Refer to Version Class]] | ||
Line 42: | Line 42: | ||
\\ | \\ | ||
- | =====setCardType===== | + | =====getDeviceInfo===== |
- | Set the RF card type. | + | Get the device information. |
<code java> | <code java> | ||
- | int setCardType(int cardType) | + | int getDeviceInfo(Device device) |
</code> | </code> | ||
===Parameters=== | ===Parameters=== | ||
- | * ''cardType'' : Parameters | + | * ''device'' : device information |
- | <WRAP group 50%> | + | <callout type="info"> |
- | ^ No. ^ Description ^ | + | [[references#Device |Refer to Device Class]] |
- | | 1 |HIGH_FREQUENCY | | + | </callout> |
- | | 2 |HIGH_FREQUENCY_ICLASS | | + | |
- | | 3 |LOW_FREQUENCY | | + | |
- | | 4 |LOW_FREQUENCY_PROX | | + | |
- | </WRAP> | + | |
===Return Code=== | ===Return Code=== | ||
Returns "SUCCESS" if successfully launched; returns the corresponding error code if an error occurs. | Returns "SUCCESS" if successfully launched; returns the corresponding error code if an error occurs. | ||
\\ | \\ | ||
+ | =====setAutoStartApplication===== | ||
+ | Automatically launch the application when Android starts. | ||
+ | <code java> | ||
+ | int setAutoStartApplication(boolean enable) | ||
+ | </code> | ||
+ | ===Return Code === | ||
+ | Returns "SUCCESS" if successfully launched; returns the corresponding error code if an error occurs. | ||
+ | |||
+ | \\ | ||
+ | |||
=====connectFtpServer===== | =====connectFtpServer===== | ||
connect to the FTP server. | connect to the FTP server. | ||
Line 99: | Line 105: | ||
\\ | \\ | ||
- | =====getFtpFirmwareFileList===== | + | =====getFtpFileList===== |
Get a list of file names for the FTP server. | Get a list of file names for the FTP server. | ||
<code java> | <code java> | ||
- | int getFtpFirmwareFileList(ArrayList<String> fileList) | + | int getFtpFileList(ArrayList<String> fileList) |
</code> | </code> | ||
===Parameters=== | ===Parameters=== | ||
Line 113: | Line 119: | ||
<code xml> | <code xml> | ||
<uses-permission android:name="android.permission.INTERNET"/> | <uses-permission android:name="android.permission.INTERNET"/> | ||
- | <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /> | ||
</code> | </code> | ||
</callout> | </callout> | ||
+ | |||
+ | \\ | ||
+ | =====getUsbFileList===== | ||
+ | Get a list of firmware file names for USB. | ||
+ | <code java> | ||
+ | int getUsbFileList(ArrayList<String> fileList) | ||
+ | </code> | ||
+ | ===Parameters=== | ||
+ | * ''fileList'': file name list | ||
+ | ===Return Code=== | ||
+ | Returns "SUCCESS" if successfully launched; returns the corresponding error code if an error occurs. | ||
\\ | \\ |