Network
The blackberry object is the root of all BlackBerry specific JavaScript functionality. blackberry.network is available by default in the regular browser.
Supported Platform(s)
- BlackBerry OS 5.0+
- Ripple Emulator
| API | OS 5.0 | OS 6.0 | OS 7.0 | PlayBook | Ripple | 
|---|---|---|---|---|---|
| network | 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:
This API does not require a <feature> element to be declared in the configuration document of your BlackBerry WebWorks Application.| Permission Elements (PlayBook Only) | 
|---|
| This API does not require a <permission> element to be declared in the configuration document of your BlackBerry WebWorks Application. | 
Properties:
| Property | Type | Description | Supported Platform(s) | 
|---|---|---|---|
| network | 
                            
                                Static String readonly  | 
                        
                        
                            Returns the wireless network on which the BlackBerry device is communicating.
                            
                                 | 
                        
                        
                            
                                
                                     - BlackBerry OS 5.0+
                                     | 
                    
Code Example(s)
<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 13:31:15 GMT-0500 (EST)