How to Write Customer Serial Numbers (SN): Difference between revisions
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
== System Interface for | == System Interface for Customer SN == | ||
* '''AIDL Interface:''' The system offers an AIDL interface to write | * '''AIDL Interface:''' The system offers an AIDL interface to write customer SNs. | ||
* '''Service Connection:''' | * '''Service Connection:''' | ||
** '''Package Name:''' ''''com.wizarpos.system.settings'''' | ** '''Package Name:''' ''''com.wizarpos.system.settings'''' | ||
Line 7: | Line 7: | ||
* '''Add Permission''': Include ''''android.permission.CLOUDPOS_UPDATE_CUSTOM_SERIAL_NUMBER'''' in your application to utilize this feature. | * '''Add Permission''': Include ''''android.permission.CLOUDPOS_UPDATE_CUSTOM_SERIAL_NUMBER'''' in your application to utilize this feature. | ||
== API Usage == | == API Usage == | ||
* '''API Function:''' ''''writerSn'''' is used for writing the | * '''API Function:''' ''''writerSn'''' is used for writing the customer serial number. | ||
<syntaxhighlight lang="java">int writerSn(String sn);</syntaxhighlight> | <syntaxhighlight lang="java">int writerSn(String sn);</syntaxhighlight> | ||
* '''Write customer SN:''' | * '''Write customer SN:''' |
Revision as of 23:07, 27 December 2023
System Interface for Customer SN
- AIDL Interface: The system offers an AIDL interface to write customer SNs.
- Service Connection:
- Package Name: 'com.wizarpos.system.settings'
- Class Name: 'com.wizarpos.system.settings.service.CustomSnApiService'
Required Permission
- Add Permission: Include 'android.permission.CLOUDPOS_UPDATE_CUSTOM_SERIAL_NUMBER' in your application to utilize this feature.
API Usage
- API Function: 'writerSn' is used for writing the customer serial number.
int writerSn(String sn);
- Write customer SN:
Parameters | |
---|---|
String | customer SN |
Returns | |
---|---|
int | Result. |
File Download
Please download the AIDL file.