How To Create Your Own URL Scheme

This post describes a URL scheme that is supported by the MultiTimer app on iOS. This post describes the scheme that require special attributes or special formatting in order to be understood by the MultiTimer app. This post does not describe all URL schemes supported on different Apple platforms.


Base: multitimer://api/[action]?[action parameters]

x-callback-url: multitimer://x-callback-url/[action]?[action parameters]&[x-callback parameters]

Supported x-callback parameters: x-success, x-error and x-cancel.

START TIMER

/start-timer

Parameters

  • name - timer label (required)

  • board - board title (optional)

Example

multitimer://api/start-timer?name=Lunch&board=Work

TERMINATE TIMER

/stop-timer

Parameters

  • name - timer label (required)

  • board - board title (optional)

Example

multitimer://api/stop-timer?name=Lunch&board=Work

PAUSE TIMER

/pause-timer

Parameters

  • name - timer label (required)

  • board - board title (optional)

Example

multitimer://api/pause-timer?name=Lunch&board=Work

RESUME TIMER

/resume-timer

Parameters

  • name - timer label (required)

  • board - board title (optional)

Example

multitimer://api/resume-timer?name=Lunch&board=Work

RUN COMMAND

/run-command

Parameters

  • name - command name (required)

Example

multitimer://api/run-command?name=Terminate%20all%20timers

Attribution: http://persapps.com/app/multitimer/url-scheme.php

331 views2 comments

Recent Posts

See All