WebAPI/WebTelephony/Multi-SIM: Difference between revisions

Jump to navigation Jump to search
Line 141: Line 141:


==== Internal API: nsIRILContentHelper.idl ====
==== Internal API: nsIRILContentHelper.idl ====
Even we create an instance for a SIM, we might still need to add 『index』, used for connecting a telephony object (phoneIndex) and a specific 『SIM slot』 due to the limits of the IPC mechanism.  
We need to add 『subscription Id』 in every IPC message, used for connecting a telephony object (phoneIndex) and a specific 『SIM slot』, due to the limits of the IPC mechanism.  
   
   
*Examples of modifiying the internal API:
*Examples of modifiying the internal API:
  void enumerateCalls(in short index,
  void enumerateCalls(in unsigned long subscriptionId,
                     in nsIRILTelephonyCallback callback);
                     in nsIRILTelephonyCallback callback);
  void dial(in short index, in DOMString number);
  void dial(in unsigned long subscriptionId, in DOMString number);
  readonly attribute jsval voicemailNumber; /* {index, number} */
  readonly attribute jsval voicemailNumber; /* {subscriptionId, number} */


=== Potential Issues (Bugs we might need to file) ===
=== Potential Issues (Bugs we might need to file) ===
Confirmed users
978

edits

Navigation menu