javax.microedition.media
Class Manager
java.lang.Object
javax.microedition.media.Manager
public final class Manager
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TONE_DEVICE_LOCATOR
public static final String TONE_DEVICE_LOCATOR
- See Also:
- Constant Field Values
MIDI_DEVICE_LOCATOR
public static final String MIDI_DEVICE_LOCATOR
- See Also:
- Constant Field Values
Manager
public Manager()
setStaticInstance
public static void setStaticInstance(Manager delegate)
getSupportedContentTypes
public static String[] getSupportedContentTypes(String protocol)
static_getSupportedContentTypes
protected String[] static_getSupportedContentTypes(String protocol)
getSupportedProtocols
public static String[] getSupportedProtocols(String content_type)
static_getSupportedProtocols
protected String[] static_getSupportedProtocols(String content_type)
createPlayer
public static Player createPlayer(String locator)
throws IOException,
MediaException
- Throws:
IOException
MediaException
static_createPlayer
protected Player static_createPlayer(String locator)
throws IOException,
MediaException
- Throws:
IOException
MediaException
createPlayer
public static Player createPlayer(InputStream stream,
String type)
throws IOException,
MediaException
- Throws:
IOException
MediaException
static_createPlayer
protected Player static_createPlayer(InputStream stream,
String type)
throws IOException,
MediaException
- Throws:
IOException
MediaException
playTone
public static void playTone(int note,
int duration,
int volume)
throws MediaException
- Throws:
MediaException
static_playTone
protected void static_playTone(int note,
int duration,
int volume)
throws MediaException
- Throws:
MediaException
createPlayer
public static Player createPlayer(DataSource source)
throws IOException,
MediaException
- Throws:
IOException
MediaException
static_createPlayer
protected Player static_createPlayer(DataSource source)
throws IOException,
MediaException
- Throws:
IOException
MediaException
getSystemTimeBase
public static TimeBase getSystemTimeBase()
static_getSystemTimeBase
protected TimeBase static_getSystemTimeBase()
Copyright © 2006-2007 Jayway AB. All Rights Reserved.