This API is available on Firefox OS for internal applications 仅。
roaming
is a read-only property that indicates whether the connection is going through a foreign operator (
true
) 或不 (
false
).
var dataRoaming = navigator.mozMobileConnection.data.roaming; var voiceRoaming = navigator.mozMobileConnection.voice.roaming;
Return a boolean.
Not part of any specification.
Archive
CFStateChangeEvent
DataErrorEvent
IccCardLockError
IccCardLockErrorEvent
MozCellBroadcastEvent
MozEmergencyCbModeEvent
MozIccManager
MozMobileCFInfo
MozMobileCellInfo
MozMobileConnection
MozMobileConnectionInfo
MozMobileICCInfo
MozMobileNetworkInfo
MozOtaStatusEvent
MozStkCommandEvent
USSDReceivedEvent