x-callback-urls in Multi Timers

·

·

Multitimers 2.3 improves the today widget and adds full support for x-callback-urls. You can download Multitimers here

Actions

addTimer

multitimers://addTimer?sec&min&hr&d&title&tone

Needs to include at least one of the following parameters. The timer duration is the sum of all

  • sec: (Int) Seconds of the timer duration
  • min: (Int) Minutes of the timer duration
  • hr: (Int) Hours of the timer duration
  • d: (Int) Days of the timer duration

Additionally you can specify the following:

  • title: (Text) Title of the timer
  • tone: (Int, 0-3) Index of the alert tone

deleteTimer

multitimers://deleteTimer?id&title&index

Needs to include one of the following parameters:

  • id: (Text) UUID of the timer to delete, used by the today widget
  • title: (Text) title of the timer to delete
  • index: (Int) index of the timer to delete

restartTimer

multitimers://restartTimer?id&title&index

Needs to include one of the following parameters:

  • id: (Text) UUID of the timer to restart, used by the today widget
  • title: (Text) title of the timer to restart
  • index: (Int) index of the timer to restart

stopTimer

multitimers://stopTimer?id&title&index

Needs to include one of the following parameters:

  • id: (Text) UUID of the timer to stop, used by the today widget
  • title: (Text) title of the timer to stop
  • index: (Int) index of the timer to stop

x-callback-urls

multitimers://x-callback-url/addTimer?sec&min&hr&d&title&tone&x-success&x-error
multitimers://x-callback-url/deleteTimer?id&title&index&x-success&x-error
multitimers://x-callback-url/restartTimer?id&title&index&x-success&x-error
multitimers://x-callback-url/stopTimer?id&title&index&x-success&x-error

You can also supply these additional parameters

  • x-success (URL) URL to be called after successfully completing the action
  • x-error: (URL) URL to be called after an error