System properties

Table 69: Mobile Media API system properties

String

Description

Value

microedition.media.version

Returns version String if the API is supported.

1.1

supports.mixing

A query for whether audio mixing is supported. If mixing is supported, the following conditions are true:

  • At least two tones can be played with Manager.playTone simultaneously.

  • Manager.playTone can be used at the same time when at least one Player is playing back audio.

  • At least two Players can be used to play back audio simultaneously.

true or false

supports.audio.capture

A query for whether audio capture is supported.

true or false

supports.video.capture

A query for whether video capture is supported.

true or false

supports.recording

A query for whether recording is supported.

true or false

audio.encodings

The string returned specifies the supported capture audio formats as a list.

For example, encoding=audio/wav

video.encodings

The string returned specifies the supported capture video formats. Each format is specified in a special syntax. The formats are delimited by at least one space.

For example, encoding=video/3gpp

video.snapshot.encodings

Supported video snapshot formats for the getSnapshot method in VideoControl. The string returned specifies the supported capture image formats. Each format is specified in a special syntax. The formats are delimited by at least one space.

For example, encoding=png

streamable.contents

Returns formats that can be streamed from InputStream.

Note: This is not related to network streaming (RTSP and HTTP)

Streaming from InputStream is not supported at the moment, therefore streamable.contents returns null.