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

window.navigator.mozMobileConnection

There was a scripting error on this page. While it is being addressed by site editors, you can view partial content below.

{{ APIRef }}

Non-standard
This feature is non-standard and is not on a standards track. Do not use it on production sites facing the Web: it will not work for every user. There may also be large incompatibilities between implementations and the behavior may change in the future.

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

Summary

Returns a MozMobileConnection object you can use to get information about the current mobile voice and data connection states of the device.

This object also includes ICC-related (SIM/RUIM card) functionalities.

Syntax

var mobileConnection = window.navigator.mozMobileConnection;

Value

navigator.mozMobileConnection is a MozMobileConnection object you can use to get information about the current mobile voice and data connection states of the device.

This object also includes ICC-related (SIM/RUIM card) functionalities.

Specification

Not part of any specification

See Also

Document Tags and Contributors

 Last updated by: teoli,