TouchData
public abstract class TouchData extends Object
Constructors
Name | Description |
---|---|
public TouchData()
|
Methods
of
public static TouchData of(JacquardProtocol.TouchData touchData)
Creates a new instance of TouchData from aJacquardProtocol.TouchData.
Parameters
Name | Description |
---|---|
JacquardProtocol.TouchData touchData
|
the raw touch data received from the gear. |
ReturnValue
Name | Description |
---|---|
TouchData
|
the decoded touch data |
lines
public abstract List<Integer> lines()
The raw touch data encoded as a list of 12 unsigned integers. One integer per lines but not all lines may be active on each product. The values are in the range 0-127 depicting the intensity.
ReturnValue
Name | Description |
---|---|
List<Integer>
|
sequence
public abstract int sequence()
Sequence byte. This can be used by to verify that every sample has been processed.
ReturnValue
Name | Description |
---|---|
int
|
proximity
public abstract int proximity()
Proximity Diff Data
ReturnValue
Name | Description |
---|---|
int
|
Data class holding raw data emitted when the tag is set onTouchMode.