зеркало из https://github.com/mozilla/gecko-dev.git
Bug 849757 - Part 1: Add 'corporateLocked' and 'serviceProviderLocked' to cardState in IDL. r=vicamo. sr=sicking.
This commit is contained in:
Родитель
7baf99a668
Коммит
07ad3c1d38
|
@ -30,7 +30,7 @@ interface nsIDOMMozMobileConnection : nsIDOMEventTarget
|
||||||
* Indicates the state of the device's ICC card.
|
* Indicates the state of the device's ICC card.
|
||||||
*
|
*
|
||||||
* Possible values: null, 'unknown', 'absent', 'pinRequired', 'pukRequired',
|
* Possible values: null, 'unknown', 'absent', 'pinRequired', 'pukRequired',
|
||||||
* 'networkLocked', 'ready'.
|
* 'networkLocked', 'corporateLocked', 'serviceProviderLocked', 'ready'.
|
||||||
*/
|
*/
|
||||||
readonly attribute DOMString cardState;
|
readonly attribute DOMString cardState;
|
||||||
|
|
||||||
|
@ -131,17 +131,28 @@ interface nsIDOMMozMobileConnection : nsIDOMEventTarget
|
||||||
* unlockCardLock({lockType: "pin",
|
* unlockCardLock({lockType: "pin",
|
||||||
* pin: "..."});
|
* pin: "..."});
|
||||||
*
|
*
|
||||||
* (2) Network depersonalization. Unlocking the network control key (NCK).
|
* (2) Unlocking the PUK and supplying a new PIN:
|
||||||
*
|
|
||||||
* unlockCardLock({lockType: "nck",
|
|
||||||
* pin: "..."});
|
|
||||||
*
|
|
||||||
* (3) Unlocking the PUK and supplying a new PIN:
|
|
||||||
*
|
*
|
||||||
* unlockCardLock({lockType: "puk",
|
* unlockCardLock({lockType: "puk",
|
||||||
* puk: "...",
|
* puk: "...",
|
||||||
* newPin: "..."});
|
* newPin: "..."});
|
||||||
*
|
*
|
||||||
|
* (3) Network depersonalization. Unlocking the network control key (NCK).
|
||||||
|
*
|
||||||
|
* unlockCardLock({lockType: "nck",
|
||||||
|
* pin: "..."});
|
||||||
|
*
|
||||||
|
* (4) Corporate depersonalization. Unlocking the corporate control key (CCK).
|
||||||
|
*
|
||||||
|
* unlockCardLock({lockType: "cck",
|
||||||
|
* pin: "..."});
|
||||||
|
*
|
||||||
|
* (5) Service Provider depersonalization. Unlocking the service provider
|
||||||
|
* control key (SPCK).
|
||||||
|
*
|
||||||
|
* unlockCardLock({lockType: "spck",
|
||||||
|
* pin: "..."});
|
||||||
|
*
|
||||||
* @return a nsIDOMDOMRequest.
|
* @return a nsIDOMDOMRequest.
|
||||||
* The request's result will be an object containing
|
* The request's result will be an object containing
|
||||||
* information about the unlock operation.
|
* information about the unlock operation.
|
||||||
|
|
Загрузка…
Ссылка в новой задаче