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.
|
InputReportListenerState |
getInputReportListenerStateInstance()
Gives worker thread's state instance associated with this input report listener.
|
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 |
setInputReportListenerStateInstance(InputReportListenerState irls)
Set the state of worker thread's state instance associated with this input report listener.
|
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.public void setInputReportListenerStateInstance(InputReportListenerState irls)
Set the state of worker thread's state instance associated with this input report listener.
irls - instance of InputReportListenerState tied to this listener.public InputReportListenerState getInputReportListenerStateInstance()
Gives worker thread's state instance associated with this input report listener.
Copyright © 2017. All rights reserved.