Join MDN and developers like you at Mozilla's View Source conference, 12-14 September in Berlin, Germany. Learn more at https://viewsourceconf.org

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,