rim:connection element


<rim:connection timeout="number" />


The <rim:connection> element specifies the amount of time the BlackBerry device can use to make a connection to the wireless network.

Parent elements


Child elements



Zero or one


You can use the following attributes in this element:

Attribute Description

The timeout attribute overrides the default timeout when the device attempts to connect to the wireless network by using a particular transport method. If you do not specify a value for this attribute, the device uses the timeout that the BlackBerry Device Software apps use.

You specify the value for this attribute in milliseconds. If you do not specify a valid numeric value, the timeout that you specify is ignored.

The default timeout is 30000 ms.

Example: Specifying the connection timeout

<rim:connection timeout="25000" />

Last modified: 2013-10-02