Network
- Since:
- Version 1.2 (API level 3)
Members
-
readonly, nullable downstreamBandwidthKbps :number
-
The downstream bandwidth of the network in Kbps. This property is
null
if the downstream bandwidth cannot be determined.- Since:
- Version 1.2 (API level 3)
-
readonly, nullable hasBluetoothTransport :boolean
-
true
if the network has the Bluetooth transport. This property isfalse
if the network does not have the Bluetooth transport, and isnull
if the network's transport cannot be determined.- Since:
- Version 1.2 (API level 3)
-
readonly, nullable hasCellularTransport :boolean
-
true
if the network has the Cellular transport. This property isfalse
if the network does not have the Cellular transport, and isnull
if the network's transport cannot be determined.- Since:
- Version 1.2 (API level 3)
-
readonly, nullable hasEthernetTransport :boolean
-
true
if the network has the Ethernet transport. This property isfalse
if the network does not have the Ethernet transport, and isnull
if the network's transport cannot be determined.- Since:
- Version 1.2 (API level 3)
-
readonly, nullable hasLoWpanTransport :boolean
-
true
if the network has the LoWPAN transport. This property isfalse
if the network does not have the LoWPAN transport. It isnull
if LoWPAN is not supported on this device or if the network's transport cannot be determined.- Since:
- Version 1.2 (API level 3)
-
readonly, nullable hasVpnTransport :boolean
-
true
if the network has the VPN transport. This property isfalse
if the network does not have the VPN transport. It isnull
if VPN is not supported on this device or if the network's transport cannot be determined.- Since:
- Version 1.2 (API level 3)
-
readonly, nullable hasWiFiAwareTransport :boolean
-
true
if the network has the Wi-Fi Aware transport. This property isfalse
if the network does not have the Wi-Fi Aware transport. It isnull
if Wi-Fi Aware is not supported on this device or if the network's transport cannot be determined.- Since:
- Version 1.2 (API level 3)
-
readonly, nullable hasWiFiTransport :boolean
-
true
if the network has the Wi-Fi transport. This property isfalse
if the network does not have the Wi-Fi transport, and isnull
if the network's transport cannot be determined.- Since:
- Version 1.2 (API level 3)
-
readonly, nullable ipAddresses :Array.<mobicontrol.network.IpAddress>
-
IP addresses associated with the network. This property is
null
if the associated IP addresses cannot be determined.- Since:
- Version 1.2 (API level 3)
-
readonly, nullable isMetered :boolean
-
true
if the network is metered. This property isfalse
if the network is not metered, and isnull
if it cannot be determined whether the network is metered.- Since:
- Version 1.2 (API level 3)
-
readonly, nullable signalStrength :number
-
Network signal strength, from 0 to 1. This property is only supported for cellular, Wi-Fi (starting from Android 11) and Ethernet networks. This property is
null
if the network signal strength cannot be determined.- Since:
- Version 1.6 (API level 7)
-
readonly, nullable upstreamBandwidthKbps :number
-
The upstream bandwidth of the network in Kbps. This property is
null
if the upstream bandwidth cannot be determined.- Since:
- Version 1.2 (API level 3)