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

JavaScript
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

License

© 2016 Mozilla Contributors
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-us/docs/web/api/mozmobileconnection.cardstate

API B2G Firefox OS Non-standard Property Reference Référence