9
JSR
135 Mobile Media API
38
StopTimeControl
StopTimeControl allows a specific preset sleep timer for a player. The JSR 135 Mobile
Media API will implement public interface StopTimeControl.
The following is a list of available methods with regards to StopTimeControl:
-
getStopTime
:
Gets the last value successfully by setStopTime
.
-
setStopTime
(
long stopTime
)
:
Sets the media time at which you want the
Player to stop.
Manager Class
Manager Class is the access point for obtaining system dependant resources such as
players for multimedia processing. A Player is an object used to control and render media
that is specific to the content type of the data. Manager provides access to an
implementation specific mechanism for constructing Players. For convenience, Manager
also provides a simplified method to generate simple tones. Primarily, the Multimedia API
will provide a way to check available/supported content types.
Audio Media
The Table 7 depicts the multimedia file formats are supported:
File Type
CODEC
WAV
PCM
SP MIDI
General MIDI
MIDI Type 1
General MIDI
MP3
MPEG-1 layer III
MIDI Type 0
General MIDI
Table 7 Multimedia File formats
The Table 8 depicts a list of audio MIME types supported:
Category
Description
MIME Type
Wav
Audio/x-wav
MP3 Audio
Audio/mpeg
MIDI Audio
Audio/midi
Audio/Video/Image
SP MIDI Audio
Audio/sp-midi