| Modifier and Type | Field and Description |
|---|---|
| public static final int | PRIORITY_ID
The priority value of the filter that applies IDs to points |
| public static final int | PRIORITY_POST_ID
The priority value of a filter that is applied after IDs are assigned to points |
| public static final int | PRIORITY_PRE_ID
The priority value of a filter that is applied before IDs are assigned to points |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | Returns: true if the state is consumed, in which case no further processing will be done on this touch state and no events will be sent.The new state to be filtered or modified state)Filters a touch state |
| public boolean | Returns: true if the filter put data into the statea TouchState object to be filled in by the filter state)Flushes this filter's state. |
| public int |
| PRIORITY_ID | back to summary |
|---|---|
| public static final int PRIORITY_ID The priority value of the filter that applies IDs to points | |
| PRIORITY_POST_ID | back to summary |
|---|---|
| public static final int PRIORITY_POST_ID The priority value of a filter that is applied after IDs are assigned to points | |
| PRIORITY_PRE_ID | back to summary |
|---|---|
| public static final int PRIORITY_PRE_ID The priority value of a filter that is applied before IDs are assigned to points | |
| filter | back to summary |
|---|---|
| public boolean filter(TouchState state) Filters a touch state
| |
| flush | back to summary |
|---|---|
| public boolean flush(TouchState state) Flushes this filter's state. If this filter wants to send any additional events it should fill in the provided state object.
| |
| getPriority | back to summary |
|---|---|
| public int getPriority() Gets the priority of this touch filter. Touch filters are applied in order, sorting first by their priority and then by the order in which they were requested. Higher priority numbers are applied first. | |