WebAPI/WebMobileConnection/Multi-SIM: Difference between revisions

Jump to navigation Jump to search
m (→‎Web API: navigator.mozMobileConnections)
Line 106: Line 106:
       var numberOfServices = window.navigator.mozMobileConnections.length;
       var numberOfServices = window.navigator.mozMobileConnections.length;


=== Implementation ===
=== Internal API and Implementation ===
mozMobileConnection becomes an array of nsIDOMMozMobileConnection in nsINavigatorMobileConnection.idl
 
interface nsIMozNavigatorMobileConnectionManager: nsISupports
{
  // An array of nsIDOMMozMobileConnection.
  readonly attribute jsval mozMobileConnections;
};
 
Add clientId in the interface of nsIMobileConnectionProvider.idl and change the implementation of getVoiceConnectionInfo, getDataConnectionInfo, and getNetworkSelectionMode.
Add clientId in the interface of nsIMobileConnectionProvider.idl and change the implementation of getVoiceConnectionInfo, getDataConnectionInfo, and getNetworkSelectionMode.


Confirmed users
978

edits

Navigation menu