mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-02 10:00:54 +00:00
Bug 842462 - Part 1: Update IDL comments. r=hsinyi
This commit is contained in:
parent
b8ccef0bfd
commit
31c79932c8
@ -104,7 +104,8 @@ interface nsIDOMMozMobileConnection : nsIDOMEventTarget
|
||||
* Find out about the status of an ICC lock (e.g. the PIN lock).
|
||||
*
|
||||
* @param lockType
|
||||
* Identifies the lock type, e.g. "pin" for the PIN lock.
|
||||
* Identifies the lock type, e.g. "pin" for the PIN lock, "fdn" for
|
||||
* the FDN lock.
|
||||
*
|
||||
* @return a DOM Request.
|
||||
* The request's result will be an object containing
|
||||
@ -151,7 +152,7 @@ interface nsIDOMMozMobileConnection : nsIDOMEventTarget
|
||||
*
|
||||
* {
|
||||
* lockType: "pin",
|
||||
* result: false,
|
||||
* success: false,
|
||||
* retryCount: 2
|
||||
* }
|
||||
*
|
||||
@ -159,7 +160,7 @@ interface nsIDOMMozMobileConnection : nsIDOMEventTarget
|
||||
*
|
||||
* {
|
||||
* lockType: "pin",
|
||||
* result: true
|
||||
* success: true
|
||||
* }
|
||||
*/
|
||||
nsIDOMDOMRequest unlockCardLock(in jsval info);
|
||||
@ -176,12 +177,18 @@ interface nsIDOMMozMobileConnection : nsIDOMEventTarget
|
||||
*
|
||||
* Examples:
|
||||
*
|
||||
* (1) Disabling the PIN lock:
|
||||
* (1a) Disabling the PIN lock:
|
||||
*
|
||||
* setCardLock({lockType: "pin",
|
||||
* pin: "...",
|
||||
* enabled: false});
|
||||
*
|
||||
* (1b) Disabling the FDN lock:
|
||||
*
|
||||
* setCardLock({lockType: "fdn",
|
||||
* pin2: "...",
|
||||
* enabled: false});
|
||||
*
|
||||
* (2) Changing the PIN:
|
||||
*
|
||||
* setCardLock({lockType: "pin",
|
||||
@ -198,7 +205,7 @@ interface nsIDOMMozMobileConnection : nsIDOMEventTarget
|
||||
*
|
||||
* {
|
||||
* lockType: "pin",
|
||||
* result: false,
|
||||
* success: false,
|
||||
* retryCount: 2
|
||||
* }
|
||||
*
|
||||
@ -206,7 +213,7 @@ interface nsIDOMMozMobileConnection : nsIDOMEventTarget
|
||||
*
|
||||
* {
|
||||
* lockType: "pin",
|
||||
* result: true
|
||||
* success: true
|
||||
* }
|
||||
*/
|
||||
nsIDOMDOMRequest setCardLock(in jsval info);
|
||||
|
Loading…
Reference in New Issue
Block a user