This API is available on Firefox OS for internal applications 仅。

摘要

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

句法

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

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

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

规范

Not part of any specification.

另请参阅

元数据

  • 最后修改: