public class OutputCmd extends ButtplugDeviceMessage
OutputCmd message.
  • Constructor Details

    • OutputCmd

      public OutputCmd(int id, long deviceIndex, long aFeatureIndex)
      Constructor.
      Parameters:
      id - message ID
      deviceIndex - device index
      aFeatureIndex - feature index
    • OutputCmd

      public OutputCmd()
      Constructor.
  • Method Details

    • getFeatureIndex

      public final long getFeatureIndex()
      Get feature index.
      Returns:
      index
    • setFeatureIndex

      public final void setFeatureIndex(long aFeatureIndex)
      Set feature index.
      Parameters:
      aFeatureIndex - index
    • getCommand

      public final OutputCmd.IOutputCommand getCommand()
      Get command.
      Returns:
      command
    • setCommand

      public final void setCommand(OutputCmd.IOutputCommand aCommand)
      Set command.
      Parameters:
      aCommand - command