Network
The blackberry object is the root of all BlackBerry specific JavaScript functionality. blackberry.network is available by default in the regular browser.
Configuration Document Settings
To use all of the API described for this object, you must ensure the following settings are in your configuration document:
|
This API does not require a <feature> element to be declared in the configuration document of your BlackBerry WebWorks Application.
|
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
static
readonly
String
network
Returns the wireless network on which the BlackBerry device is communicating.
Supported Platforms
|
|
- BlackBerry OS 5.0+
|
Code Example:
<script type="text/javascript">
alert("You are on the " + blackberry.network + " Network");
</script>
|
Documentation generated by
JsDoc Toolkit 2.4.0 on Sun Dec 30 2012 18:15:31 GMT-0500 (EST)