Version: Smart Feature Phone 3.0

navigator.b2g.mobileConnection

Description#

This API is used to get information about the current mobile voice and data connection states of the device. It is accessible through navigator.b2g.mobileConnection, which returns an array of MozMobileConnection objects.


Methods#

  • lastKnownNetwork
  • lastKnownHomeNetwork

Examples#

navigator.b2g.mobileConnection[0].lastKnownNetwork
navigator.b2g.mobileConnection[0].lastKnownHomeNetwork