Bug 814629 - Part 2: nsIDOMMobileConnection changes (idl). f=edgar r=hsinyi

This commit is contained in:
Jessica Jong 2013-11-13 16:50:46 +08:00
parent 932c040803
commit a996ef4126

View File

@ -11,7 +11,7 @@ interface nsIDOMMozMobileNetworkInfo;
interface nsIDOMMozMobileCellInfo;
interface nsIDOMMozMobileCFInfo;
[scriptable, builtinclass, uuid(095b3720-058c-11e3-8ffd-0800200c9a66)]
[scriptable, builtinclass, uuid(052550e3-7466-4941-80d7-405c169652f9)]
interface nsIDOMMozMobileConnection : nsIDOMEventTarget
{
const long ICC_SERVICE_CLASS_VOICE = (1 << 0);
@ -69,6 +69,12 @@ interface nsIDOMMozMobileConnection : nsIDOMEventTarget
*/
readonly attribute nsIDOMMozMobileConnectionInfo data;
/**
* Integrated Circuit Card Identifier of the SIM this
* mobile connection corresponds to.
*/
readonly attribute DOMString iccId;
/**
* The selection mode of the voice and data networks.
*
@ -383,6 +389,12 @@ interface nsIDOMMozMobileConnection : nsIDOMEventTarget
* changes.
*/
[implicit_jscontext] attribute jsval onotastatuschange;
/**
* The 'oniccchange' event is notified whenever the iccid value
* changes.
*/
[implicit_jscontext] attribute jsval oniccchange;
};
[scriptable, uuid(49706beb-a160-40b7-b745-50f62e389a2c)]