Would you like to tell us how we are doing?

You bet No thanks
qnx.net.NetworkType

NetworkType

Constants


Packageqnx.net
Classpublic class NetworkType
InheritanceNetworkType Inheritance Object

The NetworkType class provides constants for the different types of networks that are supported by a device.

Class information:
BlackBerry 10 Version:   10.0.0
Found in:  QNXNetwork.ane

See also

NetworkManager



Public Constants

 ConstantDefined By
  BLACKBERRY_MDS : String = bb2
[static] A constant indicating a BlackBerry Mobile Data Service connection.
NetworkType
  BLUETOOTH : String = bluetooth_dun
[static] A constant indicating that the device is connected via a bluetooth connection.
NetworkType
  BRIDGE_BES : String = bb1
[static] A constant indicating a BlackBerry Bridge BES connection.
NetworkType
  BRIDGE_BIS : String = bb0
[static] A constant indicating a BlackBerry Bridge BIS connection.
NetworkType
  CELLULAR : String = cellular
[static] A constant indicating that the device is currently connected to cellular network.
NetworkType
  NONE : String = none
[static] A constant indicating that the device is not currently connected to any network.
NetworkType
  VPN : String = vpn
[static] A constant indicating that the device is connected with a vpn connection.
NetworkType
  WIFI : String = wifi
[static] A constant indicating that the device is connected via a wifi connection.
NetworkType

Constant Detail

BLACKBERRY_MDS


public static const BLACKBERRY_MDS:String = bb2

A constant indicating a BlackBerry Mobile Data Service connection.

BLUETOOTH


public static const BLUETOOTH:String = bluetooth_dun

A constant indicating that the device is connected via a bluetooth connection.

BRIDGE_BES


public static const BRIDGE_BES:String = bb1

A constant indicating a BlackBerry Bridge BES connection.

BRIDGE_BIS


public static const BRIDGE_BIS:String = bb0

A constant indicating a BlackBerry Bridge BIS connection.

CELLULAR


public static const CELLULAR:String = cellular

A constant indicating that the device is currently connected to cellular network.

NONE


public static const NONE:String = none

A constant indicating that the device is not currently connected to any network.

VPN


public static const VPN:String = vpn

A constant indicating that the device is connected with a vpn connection. A vpn connection implies a wifi connection is already established.

WIFI


public static const WIFI:String = wifi

A constant indicating that the device is connected via a wifi connection.