rim:connection element

Syntax

<rim:connection timeout="number" />

Description

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

Parent elements

<widget>

Child elements

<id>

Occurrences

Zero or one

Attributes

You can use the following attributes in this element:

Attribute Description
timeout

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