Use is subject to License Terms. Your use of this web site or any of its contents or software indicates your agreement to be bound by these License Terms.

Copyright © 2002-2006 Sun Microsystems, Inc.; Nokia Corporation. All rights reserved. See the Copyright Notice and Specification License for more details.

MMAPI 1.2
A B C D E F G I J L M N P R S T U V

A

addPlayerListener(PlayerListener) - Method in interface javax.microedition.media.Player
Add a player listener for this player.
AUTHOR_KEY - Static variable in interface javax.microedition.media.control.MetaDataControl
Default key for AUTHOR information.

B

BLOCK_END - Static variable in interface javax.microedition.media.control.ToneControl
Defines an ending point for a block.
BLOCK_START - Static variable in interface javax.microedition.media.control.ToneControl
Defines a starting point for a block.
BUFFERING_STARTED - Static variable in interface javax.microedition.media.PlayerListener
Posted when the Player enters into a buffering mode.
BUFFERING_STOPPED - Static variable in interface javax.microedition.media.PlayerListener
Posted when the Player leaves the buffering mode.

C

C4 - Static variable in interface javax.microedition.media.control.ToneControl
Middle C.
close() - Method in interface javax.microedition.media.Player
Close the Player and release its resources.
CLOSED - Static variable in interface javax.microedition.media.Player
The state of the Player indicating that the Player is closed.
CLOSED - Static variable in interface javax.microedition.media.PlayerListener
Posted when a Player is closed.
commit() - Method in interface javax.microedition.media.control.RecordControl
Complete the current recording.
connect() - Method in class javax.microedition.media.protocol.DataSource
Open a connection to the source described by the locator and initiate communication.
ContentDescriptor - Class in javax.microedition.media.protocol
A ContentDescriptor identifies media data containers.
ContentDescriptor(String) - Constructor for class javax.microedition.media.protocol.ContentDescriptor
Create a content descriptor with the specified content type.
Control - Interface in javax.microedition.media
A Control object is used to control some media processing functions.
CONTROL_CHANGE - Static variable in interface javax.microedition.media.control.MIDIControl
Command value for Control Change message (0xB0, or 176).
Controllable - Interface in javax.microedition.media
Controllable provides an interface for obtaining the Controls from an object like a Player.
COPYRIGHT_KEY - Static variable in interface javax.microedition.media.control.MetaDataControl
Default key for COPYRIGHT information.
createPlayer(String) - Static method in class javax.microedition.media.Manager
Create a Player from an input locator.
createPlayer(InputStream, String) - Static method in class javax.microedition.media.Manager
Create a Player to play back media from an InputStream.
createPlayer(DataSource) - Static method in class javax.microedition.media.Manager
Create a Player for a DataSource.

D

DataSource - Class in javax.microedition.media.protocol
A DataSource is an abstraction for media protocol-handlers.
DataSource(String) - Constructor for class javax.microedition.media.protocol.DataSource
Construct a DataSource from a locator.
DATE_KEY - Static variable in interface javax.microedition.media.control.MetaDataControl
Default key for DATE information.
deallocate() - Method in interface javax.microedition.media.Player
Release the scarce or exclusive resources like the audio device acquired by the Player.
DEVICE_AVAILABLE - Static variable in interface javax.microedition.media.PlayerListener
Posted when the system or another higher priority application has released an exclusive device which is now available to the Player.
DEVICE_UNAVAILABLE - Static variable in interface javax.microedition.media.PlayerListener
Posted when the system or another higher priority application has temporarily taken control of an exclusive device which was previously available to the Player.
disconnect() - Method in class javax.microedition.media.protocol.DataSource
Close the connection to the source described by the locator and free resources used to maintain the connection.
DURATION_UPDATED - Static variable in interface javax.microedition.media.PlayerListener
Posted when the duration of a Player is updated.

E

END_OF_MEDIA - Static variable in interface javax.microedition.media.PlayerListener
Posted when a Player has reached the end of the media.
ERROR - Static variable in interface javax.microedition.media.PlayerListener
Posted when an error had occurred.

F

FramePositioningControl - Interface in javax.microedition.media.control
The FramePositioningControl is the interface to control precise positioning to a video frame for Players.

G

getBankList(boolean) - Method in interface javax.microedition.media.control.MIDIControl
Returns list of installed banks.
getChannelVolume(int) - Method in interface javax.microedition.media.control.MIDIControl
Get volume for the given channel.
getContentDescriptor() - Method in interface javax.microedition.media.protocol.SourceStream
Get the content type for this stream.
getContentLength() - Method in interface javax.microedition.media.protocol.SourceStream
Get the size in bytes of the content on this stream.
getContentType() - Method in interface javax.microedition.media.control.RecordControl
Return the content type of the recorded media.
getContentType() - Method in interface javax.microedition.media.Player
Get the content type of the media that's being played back by this Player.
getContentType() - Method in class javax.microedition.media.protocol.ContentDescriptor
Obtain a string that represents the content type for this descriptor.
getContentType() - Method in class javax.microedition.media.protocol.DataSource
Get a string that describes the content-type of the media that the source is providing.
getControl(String) - Method in interface javax.microedition.media.Controllable
Obtain the object that implements the specified Control interface.
getControls() - Method in interface javax.microedition.media.Controllable
Obtain the collection of Controls from the object that implements this interface.
getDisplayHeight() - Method in interface javax.microedition.media.control.VideoControl
Return the actual height of the current render video.
getDisplayWidth() - Method in interface javax.microedition.media.control.VideoControl
Return the actual width of the current render video.
getDisplayX() - Method in interface javax.microedition.media.control.VideoControl
Return the X-coordinate of the video with respect to the GUI object where the video is displayed.
getDisplayY() - Method in interface javax.microedition.media.control.VideoControl
Return the Y-coordinate of the video with respective to the GUI object where the video is displayed.
getDuration() - Method in interface javax.microedition.media.Player
Get the duration of the media.
getKeyName(int, int, int) - Method in interface javax.microedition.media.control.MIDIControl
Given bank, program and key, get name of key.
getKeys() - Method in interface javax.microedition.media.control.MetaDataControl
Return the list of keys for the available metadata values.
getKeyValue(String) - Method in interface javax.microedition.media.control.MetaDataControl
Retrieve the value found in the metadata associated with the given key.
getLevel() - Method in interface javax.microedition.media.control.VolumeControl
Get the current volume level set.
getLocator() - Method in class javax.microedition.media.protocol.DataSource
Get the locator that describes this source.
getMaxPitch() - Method in interface javax.microedition.media.control.PitchControl
Gets the maximum playback pitch raise supported by the Player.
getMaxRate() - Method in interface javax.microedition.media.control.RateControl
Gets the maximum playback rate supported by the Player.
getMediaTime() - Method in interface javax.microedition.media.Player
Gets this Player's current media time.
getMinPitch() - Method in interface javax.microedition.media.control.PitchControl
Gets the minimum playback pitch raise supported by the Player.
getMinRate() - Method in interface javax.microedition.media.control.RateControl
Gets the minimum playback rate supported by the Player.
getPitch() - Method in interface javax.microedition.media.control.PitchControl
Gets the current playback pitch raise.
getProgram(int) - Method in interface javax.microedition.media.control.MIDIControl
Returns program assigned to channel.
getProgramList(int) - Method in interface javax.microedition.media.control.MIDIControl
Given bank, get list of program numbers.
getProgramName(int, int) - Method in interface javax.microedition.media.control.MIDIControl
Given bank and program, get name of program.
getRate() - Method in interface javax.microedition.media.control.RateControl
Gets the current playback rate.
getSeekType() - Method in interface javax.microedition.media.protocol.SourceStream
Find out if the stream is seekable.
getSnapshot(String) - Method in interface javax.microedition.media.control.VideoControl
Get a snapshot of the displayed content.
getSourceHeight() - Method in interface javax.microedition.media.control.VideoControl
Return the height of the source video.
getSourceWidth() - Method in interface javax.microedition.media.control.VideoControl
Return the width of the source video.
getState() - Method in interface javax.microedition.media.Player
Gets the current state of this Player.
getStopTime() - Method in interface javax.microedition.media.control.StopTimeControl
Gets the last value successfully set by setStopTime.
getStreams() - Method in class javax.microedition.media.protocol.DataSource
Get the collection of streams that this source manages.
getSupportedContentTypes(String) - Static method in class javax.microedition.media.Manager
Return the list of supported content types for the given protocol.
getSupportedProtocols(String) - Static method in class javax.microedition.media.Manager
Return the list of supported protocols given the content type.
getSystemTimeBase() - Static method in class javax.microedition.media.Manager
Get the time-base object for the system.
getTempo() - Method in interface javax.microedition.media.control.TempoControl
Gets the current playback tempo.
getTime() - Method in interface javax.microedition.media.TimeBase
Get the current time of this TimeBase.
getTimeBase() - Method in interface javax.microedition.media.Player
Gets the TimeBase that this Player is using.
getTransferSize() - Method in interface javax.microedition.media.protocol.SourceStream
Get the size of a "logical" chunk of media data from the source.
GUIControl - Interface in javax.microedition.media.control
GUIControl extends Control and is defined for controls that provide GUI functionalities.

I

initDisplayMode(int, Object) - Method in interface javax.microedition.media.control.GUIControl
Initialize the mode on how the GUI is displayed.
initDisplayMode(int, Object) - Method in interface javax.microedition.media.control.VideoControl
Initialize the mode on how the video is displayed.
isBankQuerySupported() - Method in interface javax.microedition.media.control.MIDIControl
Returns whether banks of the synthesizer can be queried.
isMuted() - Method in interface javax.microedition.media.control.VolumeControl
Get the mute state of the signal associated with this VolumeControl.

J

javax.microedition.media - package javax.microedition.media
 
javax.microedition.media.control - package javax.microedition.media.control
 
javax.microedition.media.protocol - package javax.microedition.media.protocol
 

L

longMidiEvent(byte[], int, int) - Method in interface javax.microedition.media.control.MIDIControl
Sends a long MIDI event to the device, typically a system exclusive message.

M

Manager - Class in javax.microedition.media
Manager is the access point for obtaining system dependent resources such as Players for multimedia processing.
mapFrameToTime(int) - Method in interface javax.microedition.media.control.FramePositioningControl
Converts the given frame number to the corresponding media time.
mapTimeToFrame(long) - Method in interface javax.microedition.media.control.FramePositioningControl
Converts the given media time to the corresponding frame number.
MediaException - Exception in javax.microedition.media
A MediaException indicates an unexpected error condition in a method.
MediaException() - Constructor for exception javax.microedition.media.MediaException
Constructs a MediaException with null as its error detail message.
MediaException(String) - Constructor for exception javax.microedition.media.MediaException
Constructs a MediaException with the specified detail message.
MetaDataControl - Interface in javax.microedition.media.control
MetaDataControl is used to retrieve metadata information included within the media streams.
MIDI_DEVICE_LOCATOR - Static variable in class javax.microedition.media.Manager
The locator to create a MIDI Player which gives access to the MIDI device by making MIDIControl available.
MIDIControl - Interface in javax.microedition.media.control
MIDIControl provides access to MIDI rendering and transmitting devices.

N

NOT_SEEKABLE - Static variable in interface javax.microedition.media.protocol.SourceStream
The value returned by getSeekType indicating that this SourceStream is not seekable.
NOTE_ON - Static variable in interface javax.microedition.media.control.MIDIControl
Command value for Note On message (0x90, or 144).

P

PitchControl - Interface in javax.microedition.media.control
PitchControl raises or lowers the playback pitch of audio without changing the playback speed.
PLAY_BLOCK - Static variable in interface javax.microedition.media.control.ToneControl
Play a defined block.
Player - Interface in javax.microedition.media
Player controls the rendering of time based media data.
PlayerListener - Interface in javax.microedition.media
PlayerListener is the interface for receiving asynchronous events generated by Players.
playerUpdate(Player, String, Object) - Method in interface javax.microedition.media.PlayerListener
This method is called to deliver an event to a registered listener when a Player event is observed.
playTone(int, int, int) - Static method in class javax.microedition.media.Manager
Play back a tone as specified by a note and its duration.
prefetch() - Method in interface javax.microedition.media.Player
Acquires the scarce and exclusive resources and processes as much data as necessary to reduce the start latency.
PREFETCHED - Static variable in interface javax.microedition.media.Player
The state of the Player indicating that it has acquired all the resources to begin playing.

R

RANDOM_ACCESSIBLE - Static variable in interface javax.microedition.media.protocol.SourceStream
The value returned by getSeekType indicating that this SourceStream can be seeked anywhere within the media.
RateControl - Interface in javax.microedition.media.control
RateControl controls the playback rate of a Player.
read(byte[], int, int) - Method in interface javax.microedition.media.protocol.SourceStream
Reads up to len bytes of data from the input stream into an array of bytes.
realize() - Method in interface javax.microedition.media.Player
Constructs portions of the Player without acquiring the scarce and exclusive resources.
REALIZED - Static variable in interface javax.microedition.media.Player
The state of the Player indicating that it has acquired the required information but not the resources to function.
RECORD_ERROR - Static variable in interface javax.microedition.media.PlayerListener
Posted when an error occurs during the recording.
RECORD_STARTED - Static variable in interface javax.microedition.media.PlayerListener
Posted when recording is started.
RECORD_STOPPED - Static variable in interface javax.microedition.media.PlayerListener
Posted when recording is stopped.
RecordControl - Interface in javax.microedition.media.control
RecordControl controls the recording of media from a Player.
removePlayerListener(PlayerListener) - Method in interface javax.microedition.media.Player
Remove a player listener for this player.
REPEAT - Static variable in interface javax.microedition.media.control.ToneControl
The REPEAT event tag.
reset() - Method in interface javax.microedition.media.control.RecordControl
Erase the current recording.
RESET - Static variable in interface javax.microedition.media.control.StopTimeControl
Returned by getStopTime if no stop-time is set.
RESOLUTION - Static variable in interface javax.microedition.media.control.ToneControl
The RESOLUTION event tag.

S

seek(int) - Method in interface javax.microedition.media.control.FramePositioningControl
Seek to a given video frame.
seek(long) - Method in interface javax.microedition.media.protocol.SourceStream
Seek to the specified point in the stream.
SEEKABLE_TO_START - Static variable in interface javax.microedition.media.protocol.SourceStream
The value returned by getSeekType indicating that this SourceStream can be seeked only to the beginning of the media stream.
SET_VOLUME - Static variable in interface javax.microedition.media.control.ToneControl
The SET_VOLUME event tag.
setChannelVolume(int, int) - Method in interface javax.microedition.media.control.MIDIControl
Set volume for the given channel.
setDisplayFullScreen(boolean) - Method in interface javax.microedition.media.control.VideoControl
Set the size of the render region for the video clip to be fullscreen.
setDisplayLocation(int, int) - Method in interface javax.microedition.media.control.VideoControl
Set the location of the video with respect to the canvas where the video is displayed.
setDisplaySize(int, int) - Method in interface javax.microedition.media.control.VideoControl
Resize the video image.
setLevel(int) - Method in interface javax.microedition.media.control.VolumeControl
Set the volume using a linear point scale with values between 0 and 100.
setLoopCount(int) - Method in interface javax.microedition.media.Player
Set the number of times the Player will loop and play the content.
setMediaTime(long) - Method in interface javax.microedition.media.Player
Sets the Player's media time.
setMute(boolean) - Method in interface javax.microedition.media.control.VolumeControl
Mute or unmute the Player associated with this VolumeControl.
setPitch(int) - Method in interface javax.microedition.media.control.PitchControl
Sets the relative pitch raise.
setProgram(int, int, int) - Method in interface javax.microedition.media.control.MIDIControl
Set program of a channel.
setRate(int) - Method in interface javax.microedition.media.control.RateControl
Sets the playback rate.
setRecordLocation(String) - Method in interface javax.microedition.media.control.RecordControl
Set the output location where the data will be recorded.
setRecordSizeLimit(int) - Method in interface javax.microedition.media.control.RecordControl
Set the record size limit.
setRecordStream(OutputStream) - Method in interface javax.microedition.media.control.RecordControl
Set the output stream where the data will be recorded.
setSequence(byte[]) - Method in interface javax.microedition.media.control.ToneControl
Sets the tone sequence.
setStopTime(long) - Method in interface javax.microedition.media.control.StopTimeControl
Sets the media time at which you want the Player to stop.
setTempo(int) - Method in interface javax.microedition.media.control.TempoControl
Sets the current playback tempo.
setTimeBase(TimeBase) - Method in interface javax.microedition.media.Player
Sets the TimeBase for this Player.
setVisible(boolean) - Method in interface javax.microedition.media.control.VideoControl
Show or hide the video.
shortMidiEvent(int, int, int) - Method in interface javax.microedition.media.control.MIDIControl
Sends a short MIDI event to the device.
SILENCE - Static variable in interface javax.microedition.media.control.ToneControl
Silence.
SIZE_CHANGED - Static variable in interface javax.microedition.media.PlayerListener
Posted when the size of the video is changed either because the source video size or the display size is changed.
skip(int) - Method in interface javax.microedition.media.control.FramePositioningControl
Skip a given number of frames from the current position.
SourceStream - Interface in javax.microedition.media.protocol
Abstracts a single stream of media data.
start() - Method in interface javax.microedition.media.Player
Starts the Player as soon as possible.
start() - Method in class javax.microedition.media.protocol.DataSource
Initiate data-transfer.
STARTED - Static variable in interface javax.microedition.media.Player
The state of the Player indicating that the Player has already started.
STARTED - Static variable in interface javax.microedition.media.PlayerListener
Posted when a Player is started.
startRecord() - Method in interface javax.microedition.media.control.RecordControl
Start recording the media.
stop() - Method in interface javax.microedition.media.Player
Stops the Player.
stop() - Method in class javax.microedition.media.protocol.DataSource
Stop the data-transfer.
STOPPED - Static variable in interface javax.microedition.media.PlayerListener
Posted when a Player stops in response to the stop method call.
STOPPED_AT_TIME - Static variable in interface javax.microedition.media.PlayerListener
Posted when a Player is stopped as responding to the setStopTime call using the StopTimeControl.
stopRecord() - Method in interface javax.microedition.media.control.RecordControl
Stop recording the media.
StopTimeControl - Interface in javax.microedition.media.control
StopTimeControl allows one to specify a preset stop time for a Player.

T

tell() - Method in interface javax.microedition.media.protocol.SourceStream
Obtain the current position in the stream.
TEMPO - Static variable in interface javax.microedition.media.control.ToneControl
The TEMPO event tag.
TempoControl - Interface in javax.microedition.media.control
TempoControl controls the tempo, in musical terms, of a song.
TIME_UNKNOWN - Static variable in interface javax.microedition.media.Player
The returned value indicating that the requested time is unknown.
TimeBase - Interface in javax.microedition.media
A TimeBase is a constantly ticking source of time.
TITLE_KEY - Static variable in interface javax.microedition.media.control.MetaDataControl
Default key for TITLE information.
TONE_DEVICE_LOCATOR - Static variable in class javax.microedition.media.Manager
The locator to create a tone Player to play back tone sequences.
ToneControl - Interface in javax.microedition.media.control
ToneControl is the interface to enable playback of a user-defined monotonic tone sequence.

U

UNREALIZED - Static variable in interface javax.microedition.media.Player
The state of the Player indicating that it has not acquired the required information and resources to function.
USE_DIRECT_VIDEO - Static variable in interface javax.microedition.media.control.VideoControl
This defines a mode on how the video is displayed.
USE_GUI_PRIMITIVE - Static variable in interface javax.microedition.media.control.GUIControl
This defines a mode on how the GUI is displayed.

V

VERSION - Static variable in interface javax.microedition.media.control.ToneControl
The VERSION attribute tag.
VideoControl - Interface in javax.microedition.media.control
VideoControl controls the display of video.
VOLUME_CHANGED - Static variable in interface javax.microedition.media.PlayerListener
Posted when the volume of an audio device is changed.
VolumeControl - Interface in javax.microedition.media.control
VolumeControl is an interface for manipulating the audio volume of a Player.

A B C D E F G I J L M N P R S T U V
MMAPI 1.2

Copyright © 2002-2006 Sun Microsystems, Inc.; Nokia Corporation. All rights reserved. See the Copyright Notice and Specification License for more details.

Use is subject to License Terms. Your use of this web site or any of its content or software indicates your agreement to be bound by these License Terms.

For more information, please consult the JSR 135 specification.