EasyManua.ls Logo

Citizen CL-S521

Citizen CL-S521
95 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
CITIZEN Android Label Print SDK Programming Manual
16
2.2.2 setContext method
Syntax
int setContext( Context context )
Parameters
[IN/OUT]
意味
設定可能範囲
context
[IN]
Context
(android.content.Context)
Context
Description
This method is used to the USB connection and the search printer. Specify the context.
Must be executed this method before the connect method on the USB connection and the
searchLabelPrinter method.
If you want to connect with other interfaces, you do not need this method.
Return value
Returns CLS_SUCCESS(0) on success, an error code otherwise. See "2.1 Return value" for the error
codes.
Example
printer.setContext (this);
printer.setContext (getApplicationContext());

Table of Contents

Other manuals for Citizen CL-S521

Related product manuals