WebAPI/WebTelephony/Multi-SIM: Difference between revisions

Jump to navigation Jump to search
(Internal API - nsITelephonyListener)
Line 191: Line 191:
*Id: 0-based identifier of rild, i.e. 0, 1, 2, ...
*Id: 0-based identifier of rild, i.e. 0, 1, 2, ...
*Size: size of the original data sent by rild
*Size: size of the original data sent by rild
==== Internal API: nsIRILContentHelper.idl ====
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:
void enumerateCalls(in unsigned long subscriptionId,
                    in nsIRILTelephonyCallback callback);
void dial(in unsigned long subscriptionId, in DOMString number);
readonly attribute jsval voicemailNumber; /* {subscriptionId, number} */


== Bugzilla ==
== Bugzilla ==
Confirmed users
978

edits

Navigation menu