Firefox OS/Remote Control: Difference between revisions

Jump to navigation Jump to search
Line 78: Line 78:


==== Protocol ====
==== Protocol ====
from client to server via AJAX


   {
   {
Line 95: Line 97:
     verified: false,
     verified: false,
     reason: 'expired' / 'invalid'
     reason: 'expired' / 'invalid'
  }
internal events at server side
  {
    type: 'mozChromeRemoteControlEvent',
    detail: {
      action: 'pin-created',
      pincode: <pincode>
    }
  }
  {
    type: 'mozChromeRemoteControlEvent',
    detail: {
      action: 'pin-destroyed',
      pincode: <pincode>
    }
  }
  {
    type: 'mozContentEvent',
    detail: {
      type: 'remote-control-pin-dismissed',
      detail: {
        reason: 'timeout' / 'manually'
      }
    }
   }
   }


Confirmed users
133

edits

Navigation menu