Herunterladen Inhalt Inhalt Diese Seite drucken

Classes - Werock Rockscan W100 Betriebsanleitung

Vorschau ausblenden Andere Handbücher für Rockscan W100:
Inhaltsverzeichnis
Verfügbare Sprachen

Verfügbare Sprachen

Classes

The central management class in the SDK is
as shown in the table:
Methods
Method
Name
Static
getInstance()
Void
BindService(Context context, OnBindServiceCallback callback)
Void
unBindService(Context
Void
searchScanner(OnSearchCallback
Void
Connect()
Void
connect(String address)
Void
stop()
Void
sendCmd(int cmd)
Void
obtainAllCmd()
Manager
setConnectStatusListener(ConnectStatusListener
Manager
setErrorCallback(ErrorCallback
Void
setOnDataReceive(OnDataReceive
Void
OpenCode128()
Void
CloseCode128()
Void
OpenCode39()
Void
CloseCode39()
Interface classes
OnBindServiceCallback
Void
Void
ConnectStatusListener
Void
Rockscan W100 User Manual
Manager
context)
Name
success()
fail()
Name
connectionState(int state)
128 / 130
(or
if you are working in BLE mode)
BleManager
onSearchCallback)
listener)
iErrorListener)
onDataReceive)
Description
The service was bound
successfully
Binding of the service failed.
Description
Status contains four states:
0: disconnected,
1: connecting,
Description
Initializes an instance o
Binds the service. The
interface for this servic
state is callback.
Unbinds the service. Is
the program is termina
used to release resour
Search for Bluetooth s
OnSearchCallback is t
interface for search res
Connects to the last sa
Bluetooth scanner
Connects to a Bluetoo
the MAC address of th
can be used as the ad
Disconnects from the B
scanner
Sends a single comma
Obtain all setup comm
Bluetooh Scanner
Adds a connection sta
to the Bluetooth scann
for status changes
Adds listeners to retrie
messages
Receives data from the
scanner
Open Code128
Close Code128
Open Code39
Close Code39
Inhaltsverzeichnis
loading

Verwandte Produkte für Werock Rockscan W100

Inhaltsverzeichnis