WebAPI/WebTelephony/Multi-SIM: Difference between revisions

(Arch diagram updated)
Line 21: Line 21:
  // generated via startTone.
  // generated via startTone.
  readonly attribute jsval active;
  readonly attribute jsval active;
/*
  * Number of available services a mobile device provides.
  * Note: Refer to MobileConnection API to gather details of each service.
  */
readonly attribute long numServices; /* new attribute */
readonly unsigned long defaultServiceId; /* new attribute */
   
   
  /*
  /*
Line 39: Line 31:
   *        the implementation MUST use the default id.  
   *        the implementation MUST use the default id.  
   *
   *
   *        Possible values are 0 ~ numServices - 1, which is simply the index of a
   *        Possible values are 0 ~ (number of services - 1), which is simply the index of a service.
   *        service.
   *        Get number of services by acquiring navigator.mozMobileConnections.length
   */
   */
  nsIDOMTelephonyCall dial(in DOMString number, [optional] in unsigned long serviceId);
  nsIDOMTelephonyCall dial(in DOMString number, [optional] in unsigned long serviceId);
Confirmed users
978

edits