Help Center

Local Navigation

Object: PluginArray

Availability

BlackBerry® Device Software version 4.6 or later

The PluginArray object contains an ordered collection of Plugin objects.

PluginArray properties

Property name

Type

Description

Status

Support level

Availability

length

unsigned long

Returns the number of Plugin objects in the collection.

read only

Not part of any standard.

4.6 or later

PluginArray methods

Method name

Description

Support level

Availability

item()

Returns the Plugin at the specified index in the collection.

Not part of any standard.

4.6 or later

namedItem()

Retrieves the Plugin with the given name from the collection.

Not part of any standard.

4.6 or later

Method: PluginArray.item()

Availability

BlackBerry® Device Software version 4.6 or later

The item() method returns the Plugin at the specified index in the collection.

Syntax

PluginArray.item( index )

Parameters

Parameter

Type

Description

index

int

The index position of the Plugin to be returned. Valid values are between 0 and PluginArray.length-1 inclusive.

Return values

Returns the Plugin at the indexth position in PluginArray, or null if an invalid index position is specified.

Exceptions

None.

Method: PluginArray.namedItem()

Availability

BlackBerry® Device Software version 4.6 or later

The namedItem() method retrieves the Plugin with the given name from the collection.

Syntax

PluginArray.namedItem( name )

Parameters

Parameter

Type

Description

name

String

The name of the Plugin object to retrieve.

Return values

Returns the Plugin with the given name, or null if no plugin with the given name exists in the array.

Exceptions

None.

Next topic: Object: Screen

Was this information helpful? Send us your comments.