UM600183 Rev. A, page 21 of 38
User Manual
–
I-series 2.0
ELOPeripheralManager and ELOPeripheralEventListener
As we mentioned in the last section, ELOPeripheralManager and ELOPeripheralEventListener are the components that provide interface
for application development. Inner member data of ELOPeripheralManager and ELOPeripheralEventListener are listed below:
1.
ELOPeripheralManager
This manager contains some inner class member (as shown below) and for each inner class, provides specific functionality to
peripheral equipment or defined action flow.
ELOPeripheralManager
mBCR_APIs
mMSR_APIs
mNFC_APIs
mGPIO_APIs
mIDLE_APIs
public void
registerListener
(ELOPeripheralEventListener listener)
public void
unregisterListener
(ELOPeripheralEventListener listener)
•
public void registerListener(ELOPeripheralEventListener listener)
Provide interface for application to register the feedback structure instance
Needs to register before request (Activity life cycle: onResume)
•
public void unregisterListener(ELOPeripheralEventListener listener)
Provide interface for application to unregister the feedback structure instance
Needs to unregister before leave the application (Activity life cycle: onPause)
Summary of Contents for Backpack
Page 1: ...USER MANUAL Elo Touch Solutions Elo Backpack ELO KIT EloView Engine ...
Page 6: ...UM600183 Rev A page 6 of 38 User Manual Elo Backpack ...
Page 12: ...UM600183 Rev A page 12 of 38 User Manual I series 2 0 From Android Settings USB port ...
Page 20: ...UM600183 Rev A page 20 of 38 User Manual I series 2 0 Figure 2 2 ELOPeripheralService ...