MozMobileConnectionInfo.relSignalStrength

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

Summary

relSignalStrength is a read-only property that gives the signal strength, represented linearly as a number.

Syntax

JavaScript
var dataSignal  = navigator.mozMobileConnection.data.relSignalStrength;
var voiceSignal = navigator.mozMobileConnection.voice.relSignalStrength;

Value

Return a number between 0 (weakest signal) and 100 (full signal).

This property can be null if there is no signal at all.

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/mozmobileconnectioninfo/relsignalstrength

API B2G DOM Firefox OS Mobile Property Reference Référence