Class InputCmd
java.lang.Object
io.github.blackspherefollower.buttplug4j.protocol.ButtplugMessage
io.github.blackspherefollower.buttplug4j.protocol.ButtplugDeviceMessage
io.github.blackspherefollower.buttplug4j.protocol.messages.InputCmd
InputCmd message.
-
Constructor Summary
ConstructorsConstructorDescriptionInputCmd()Constructor.InputCmd(int id, long deviceIndex, int aFeatureIndex, String aInputType, InputCommandType aInputCommand) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionfinal intGet feature index.final InputCommandTypeGet input command.final StringGet input type.final voidsetFeatureIndex(int aFeatureIndex) Set feature index.final voidsetInputCommand(InputCommandType aInputCommand) Set input command.final voidsetInputType(String aInputType) Set input type.Methods inherited from class io.github.blackspherefollower.buttplug4j.protocol.ButtplugDeviceMessage
getDeviceIndex, setDeviceIndexMethods inherited from class io.github.blackspherefollower.buttplug4j.protocol.ButtplugMessage
getId, setId
-
Constructor Details
-
InputCmd
public InputCmd(int id, long deviceIndex, int aFeatureIndex, String aInputType, InputCommandType aInputCommand) Constructor.- Parameters:
id- message IDdeviceIndex- device indexaFeatureIndex- feature indexaInputType- input typeaInputCommand- command
-
InputCmd
public InputCmd()Constructor.
-
-
Method Details
-
getFeatureIndex
public final int getFeatureIndex()Get feature index.- Returns:
- index
-
setFeatureIndex
public final void setFeatureIndex(int aFeatureIndex) Set feature index.- Parameters:
aFeatureIndex- index
-
getInputType
Get input type.- Returns:
- type
-
setInputType
Set input type.- Parameters:
aInputType- type
-
getInputCommand
Get input command.- Returns:
- command
-
setInputCommand
Set input command.- Parameters:
aInputCommand- command
-