Please note, this is a STATIC archive of website developer.mozilla.org from November 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

MozMobileConnection.cardState

This article needs a technical review. How you can help.

This API is available on Firefox OS for internal applications only.

Summary

The cardState is a read-only property that indicates the state of the device's ICC card.

Syntax

var state = navigator.mozMobileConnection.cardState

Value

Returns a string representing the ICC card's state. Possible values are:

  • unknown
  • absent
  • pinRequired
  • pukRequired
  • networkLocked
  • ready

This property can also be null.

Specification

Not part of any specification.

See also

Document Tags and Contributors

 Contributors to this page: chrisdavidmills, fscholz, MHasan, kscarfone, justinpotts, Sheppy, Jeremie
 Last updated by: chrisdavidmills,