PenProfile 2.x

javax.microedition.media
Class Manager

java.lang.Object
  extended by javax.microedition.media.Manager

public final class Manager
extends Object


Field Summary
static String MIDI_DEVICE_LOCATOR
           
static String TONE_DEVICE_LOCATOR
           
 
Method Summary
static Player createPlayer(DataSource source)
           
static Player createPlayer(InputStream stream, String contentType)
           
static Player createPlayer(String locator)
           
static String[] getSupportedContentTypes(String protocol)
           
static String[] getSupportedProtocols(String contentType)
           
static TimeBase getSystemTimeBase()
           
static void playTone(int note, int duration, int volume)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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
Method Detail

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()

PenProfile 2.x

Copyright © 2010 Livescribe Inc. All Rights Reserved.
Confidential and subject to NDA.