Listen to Action Hold info

API 3.0

Touch Portal will send messages to your plugin when the action is used in a hold button event. When the user presses the Touch Portal button down, Touch Portal will send the "down" event. When the user releases the button, Touch Portal will send the "up" event. Only actions that have hold settings can be used in Touch Portal in the Hold tab.

{
  "type":"the state of the button for this action ('up' or 'down')",
  "pluginId":"id of the plugin",
  "actionId":"id of the action",
  "data": [
    {
      "id":"data object id",
      "value":"user specified data object value"
    },
    {
      "id":"data object id",
      "value":"user specified data object value"
    }
  ]
}