We're looking for a user researcher to understand the needs of developers and designers. Is this you or someone you know? Check out the post: https://mzl.la/2IGzdXS

B2G OS

MozMobileConnection.cardState

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,