How to Write Customer Serial Numbers (SN): Difference between revisions

From wizarPOS
(Created page with "The system provides the AIDL interface to write customer SN. When connect the service, the package name is '''com.wizarpos.system.settings''', and the class name is '''com.wiz...")
 
No edit summary
Line 1: Line 1:
The system provides the AIDL interface to write customer SN. When connect the service, the package name is '''com.wizarpos.system.settings''', and the class name is '''com.wizarpos.system.settings.service.CustomSnApiService'''.
== System Interface for Custom SN ==
== Permission ==
* '''AIDL Interface:''' The system offers an AIDL interface to write custom SNs.
Please add this permission, android.permission.CLOUDPOS_UPDATE_CUSTOM_SERIAL_NUMBER
* '''Service Connection:'''
== API Overview ==
** '''Package Name:''' ''''com.wizarpos.system.settings''''
=== <big>writerSn</big>===
** '''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 custom serial number.
   <syntaxhighlight lang="java">int writerSn(String sn);</syntaxhighlight>
   <syntaxhighlight lang="java">int writerSn(String sn);</syntaxhighlight>
Write customer SN.
* '''Write customer SN:'''
 
{|class="wizarpostable"
{|class="wizarpostable"
|-
|-
Line 21: Line 24:
|}
|}


== Download ==
== File Download ==
Please download the [http://ftp.wizarpos.com/advanceSDK/ICustomSnApi.aidl AIDL file].
Please download the [http://ftp.wizarpos.com/advanceSDK/ICustomSnApi.aidl AIDL file].

Revision as of 22:46, 27 December 2023

System Interface for Custom SN

  • AIDL Interface: The system offers an AIDL interface to write custom 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 custom serial number.
int writerSn(String sn);
  • Write customer SN:
Parameters
String customer SN
Returns
int Result.

File Download

Please download the AIDL file.