MediaList

Availability

BlackBerry Device Software version 4.6 or later

The MediaList object represents an ordered collection of media. An empty list is equivalent to a list that contains a value of all.

Properties

Property name

Type

Description

Status

Support level

Availability

length

int

Returns the number of media in the list.

read only

DOM 2 Style

4.6 or later

mediaText

DOMString

Specifies a comma-separated list of media.

writable

DOM 2 Style

4.6 or later

Methods

Method name

Description

Support level

Availability

appendMedium()

Adds the given medium to the end of the MediaList object.

DOM 2 Style

4.6 or later

deleteMedium()

Removes the given medium from the MediaList object.

DOM 2 Style

4.6 or later

item()

Returns the medium at the given index in the collection.

DOM 2 Style

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