The BrowserArguments object is an instance object, and is used as a parameter to the invoke() method when invoking the BlackBerry Browser application.
- BlackBerry OS 5.0+ - BlackBerry PlayBook |
||||||||
- Supported Platform Table: Expand
|
<feature id="blackberry.invoke" />
|
<feature id="blackberry.invoke.BrowserArguments" />
|
<feature id="blackberry.identity" />
|
BrowserArguments(url : String, [transport: blackberry.identity.Transport]) |
The BrowserArguments object must be created as an instance using the new keyword.
Parameter | Type | Description |
---|---|---|
url | String | The desired url to bring up in the browser. |
transport |
blackberry.identity.Transport
Optional |
an optional parameter representing the transport type that the browser should use. If no parameter is specified the default browser configured for the device will be used. |
<script type="text/javascript"> var args = new blackberry.invoke.BrowserArguments('http://www.blackberry.com'); blackberry.invoke.invoke(blackberry.invoke.APP_BROWSER, args); </script> |