javax.microedition.media
Class Manager
java.lang.Object
javax.microedition.media.Manager
public final class Manager
- extends Object
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
getSupportedContentTypes
public static String[] getSupportedContentTypes(String protocol)
getSupportedProtocols
public static String[] getSupportedProtocols(String contentType)
createPlayer
public static Player createPlayer(String locator)
throws MediaException,
IOException
- Throws:
MediaException
IOException
createPlayer
public static Player createPlayer(InputStream stream,
String contentType)
throws MediaException,
IOException
- Throws:
MediaException
IOException
createPlayer
public static Player createPlayer(DataSource source)
throws MediaException,
IOException
- Throws:
MediaException
IOException
playTone
public static void playTone(int note,
int duration,
int volume)
throws MediaException
- Throws:
MediaException
getSystemTimeBase
public static TimeBase getSystemTimeBase()
Copyright © 2010 Livescribe Inc. All Rights Reserved.
Confidential and subject to NDA.