WebAPI/WebMobileConnection: Difference between revisions

No edit summary
Line 65: Line 65:
     * Search for available networks.
     * Search for available networks.
     *
     *
     * If successful, the request result will be an array of operator names.
     * If successful, the request's onsuccess will be called, and the request's
    * result will be an array of MobileOperatorInfo.
    *
    * Otherwise, the request's onerror will be called, and the request's error
    * will be either 'RadioNotAvailable', 'RequestNotSupported', or 'GenericFailure'.
     */
     */
     DOMRequest getNetworks();
     DOMRequest getNetworks();
Line 99: Line 103:
     *        e.g. {lockType: "pin", enabled: true}.
     *        e.g. {lockType: "pin", enabled: true}.
     */
     */
     nsIDOMDOMRequest getCardLock(in DOMString lockType);
     DOMRequest getCardLock(in DOMString lockType);


     /**
     /**
Line 145: Line 149:
     *    }
     *    }
     */
     */
     nsIDOMDOMRequest unlockCardLock(in jsval info);
     DOMRequest unlockCardLock(in jsval info);


     /**
     /**
Line 192: Line 196:
     *    }
     *    }
     */
     */
     nsIDOMDOMRequest setCardLock(in jsval info);
     DOMRequest setCardLock(in jsval info);


   };
   };
23

edits