Plugin

Availability

BlackBerry Device Software version 4.6 or later

The Plugin object represents an installed plugin.

You can access an individual Plugin within a collection by its index position using Plugin.item(), by its name or id attribute using Plugin.namedItem(), or you can index the object directly. For example, if you create an instance of a Plugin object called myPlugins, then specifying

myPlugins.item(2)

myPlugins.namedItem(“item”)

is equivalent to specifying

myPlugins[2]

myPlugins[“item”]

Properties

Property name

Type

Description

Status

Support level

Availability

description

DOMString

Returns the description of the Plugin.

read only

Not part of any standard

4.6 or later

filename

DOMString

Returns the Plugin filename.

read only

Not part of any standard

4.6 or later

length

unsigned long

Returns the number of MIME types associated with the Plugin.

read only

Not part of any standard

4.6 or later

name

DOMString

Returns the name of the Plugin.

read only

Not part of any standard

4.6 or later

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()

Returns the Plugin with the given name.

Not part of any standard.

4.6 or later

Last modified: 2014-03-10



Got questions about leaving a comment? Get answers from our Disqus FAQ.

comments powered by Disqus