public class InputCmd extends ButtplugDeviceMessage
InputCmd message.
  • Constructor Details

    • InputCmd

      public InputCmd(int id, long deviceIndex, int aFeatureIndex, String aInputType, InputCommandType aInputCommand)
      Constructor.
      Parameters:
      id - message ID
      deviceIndex - device index
      aFeatureIndex - feature index
      aInputType - input type
      aInputCommand - 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

      public final String getInputType()
      Get input type.
      Returns:
      type
    • setInputType

      public final void setInputType(String aInputType)
      Set input type.
      Parameters:
      aInputType - type
    • getInputCommand

      public final InputCommandType getInputCommand()
      Get input command.
      Returns:
      command
    • setInputCommand

      public final void setInputCommand(InputCommandType aInputCommand)
      Set input command.
      Parameters:
      aInputCommand - command