public final class HIDdevHandleInfo extends Object
Encapsulates the information like HID device handle and listeners associated with this handle etc.
| Constructor and Description |
|---|
HIDdevHandleInfo(IHIDInputReportListener mInputReportListener)
Allocates and create new HIDdevHandleInfo object with given details.
|
| Modifier and Type | Method and Description |
|---|---|
IHIDInputReportListener |
getInputReportListener()
Gives input report listener associated with given HID device handle.
|
long |
getListenerContext()
Gives the context associated with this input report listener.
|
void |
setInputReportListener(IHIDInputReportListener mInputReportListener)
Set the input report listener who will get input reports for given handle.
|
void |
setListenerContext(long context)
Set the context associated with this input report listener.
|
public HIDdevHandleInfo(IHIDInputReportListener mInputReportListener)
Allocates and create new HIDdevHandleInfo object with given details.
mInputReportListener - instance of input report listener.public IHIDInputReportListener getInputReportListener()
Gives input report listener associated with given HID device handle.
public void setInputReportListener(IHIDInputReportListener mInputReportListener)
Set the input report listener who will get input reports for given handle.
mInputReportListener - input report listener who will get input reports for given handle.public long getListenerContext()
Gives the context associated with this input report listener.
public void setListenerContext(long context)
Set the context associated with this input report listener.
context - context associated with this input report listener.Copyright © 2016. All rights reserved.