Changes

Jump to: navigation, search

WebAPI/WebMobileConnection/Multi-SIM

76 bytes added, 07:17, 20 February 2013
no edit summary
nsIDOMMozMobileConnectionManager will handle the interactive and synchronizing functions between nsIDOMMozMobileConnection objects in the future. For example, when data connection via SIM1 is no longer available, nsIDOMMobileConnectionManager will establish data connection via SIM2 for upper layers.
=== <h3> Web API === </h3><p>Following are what we create for nsIDOMMozMobileConnectionManager.</p><pre class="_fck_mw_lspace">interface nsIDOMMozMobileConnectionManager &#160;: nsIDOMEventTarget
{
readonly attribute jsval mobileConnections; readonly attribute nsIDOMMozMobileConnection defaultMobileConnection; 
};
</pre><p>We don't modify the interface of nsIDOMMozMobileConnectionInfo to minimize the coding effort of gaia.</p><pre class="_fck_mw_lspace">interface nsIDOMMozMobileConnectionInfo &#160;: nsISupports
{
readonly attribute DOMString state; readonly attribute bool connected; readonly attribute bool emergencyCallsOnly; readonly attribute bool roaming; readonly attribute nsIDOMMozMobileNetworkInfo network; readonly attribute DOMString type; readonly attribute jsval signalStrength; readonly attribute jsval relSignalStrength; readonly attribute nsIDOMMozMobileCellInfo cell;
};
</pre>
=== Use Case ===
Confirm
258
edits

Navigation menu