HapticCommand
public class HapticCommand extends ProtoCommandRequest
Constructors
HapticCommand
public HapticCommand(Frame frame, Component component)
Creates a new instance of HapticCommand and when executed play the frames on the component.
Parameters
Name | Description |
---|---|
Frame frame
|
the haptic pattern to play. |
Component component
|
the gear component plays the command. |
Methods
parseResponse
public Result<Boolean> parseResponse(byte[] respByte)
Parameters
Name | Description |
---|---|
byte[] respByte
|
ReturnValue
Name | Description |
---|---|
Result<Boolean>
|
getRequest
public Request getRequest()
ReturnValue
Name | Description |
---|---|
Request
|
A class which forms haptic command request and plays on gear component.