Transport

Transport objects are used to store information about BlackBerry connections such as BES, BIS-B, Unite and Hotspots.


Code Example:
<script type="text/javascript">    
  var transports = blackberry.identity.getTransportList();
  for (var i = 0; i < transports.length;i++) {
    if (transports[i].type == "BES") {
      alert("You are registered with a BES");
      break;
    }
  }  
</script>


Supported Platform(s)

- BlackBerry OS 5.0+
- Ripple Emulator
View Supported Platform Table
APIBB5.0BB6.0BB7.0PB1.0PB2.0BB10Ripple
name Y Y Y      Y
type Y Y Y      Y

Configuration Document Settings

To use all of the API described for this object, you must ensure the following settings are in your configuration document:

You must declare the feature element(s) below in your configuration document:

Feature IDBB5.0BB6.0BB7.0PB1.0PB2.0BB10Ripple
<feature id="blackberry.identity" /> Y Y Y      Y

Permission Elements (PlayBook and BlackBerry 10+)
This API does not require a <permission> element to be declared in the configuration document of your BlackBerry WebWorks Application.

Properties

String name
String type

Properties

readonly String name


Specifies the name of the Transport, for example, 'Desktop', 'Unite', or 'BIS'.


Supported Platforms
 - BlackBerry OS 5.0+
 - Ripple Emulator

readonly String type


Specifies the type of the Transport. Can be one of the following: TCP Cellular, Wap, Wap 2.0, MDS, Bis B, Unite!, or TCP Wifi.


Supported Platforms
 - BlackBerry OS 5.0+
 - Ripple Emulator

Documentation generated by JsDoc Toolkit 2.4.0 on Sun Dec 30 2012 18:15:45 GMT-0500 (EST)