Skip to content

Broadcasted Actions

Sylvek edited this page Jun 10, 2016 · 1 revision

Broadcasted Actions

Several actions should be broadcasted during the iTracing2 usage.

Actions:

  • net.sylvek.itracing2.action.START_VIBRATE_PHONE
  • net.sylvek.itracing2.action.START_RING_PHONE
  • net.sylvek.itracing2.action.CAPTURE_POSITION
  • net.sylvek.itracing2.action.CUSTOM_ACTION
  • net.sylvek.itracing2.action.STOP_RING_PHONE
  • net.sylvek.itracing2.action.STOP_VIBRATE_PHONE

Each event broadcasted, contains:

  • an extra "address", containing the mac address of the iTag
  • an extra "source", containing the source

Sources:

  • single_click
  • double_click
  • out_of_range
  • connected

So… example:

  • Action: "net.sylvek.itracing2.action.STOP_RING_PHONE"
  • extras: [ "address" = "FF:FF:FF:FF", "source" = "single_click" ]
Clone this wiki locally