BenQ Mobile

Uses of Class
javax.microedition.media.MediaException

Packages that use MediaException
javax.microedition.media The MIDP 2.0 Media API is a directly compatible building block of the Mobile Media API (JSR-135) specification.  
javax.microedition.media.control This package defines the specific
Uses of MediaException in javax.microedition.media
 

Methods in javax.microedition.media that throw MediaException
 void Player.realize()
          Constructs portions of the Player without acquiring the scarce and exclusive resources.
 void Player.prefetch()
          Acquires the scarce and exclusive resources and processes as much data as necessary to reduce the start latency.
 void Player.start()
          Starts the Player as soon as possible.
 void Player.stop()
          Stops the Player.
 void Player.setTimeBase(TimeBase master)
          Sets the TimeBase for this Player.
 long Player.setMediaTime(long now)
          Sets the Player's media time.
static Player Manager.createPlayer(java.lang.String locator)
          Create a Player from an input locator.
static Player Manager.createPlayer(java.io.InputStream stream, java.lang.String type)
          Create a Player to play back media from an InputStream.
static Player Manager.createPlayer(DataSource source)
          Create a Player for a DataSource.
static void Manager.playTone(int note, int duration, int volume)
          Play back a tone as specified by a note and its duration.
 

Uses of MediaException in javax.microedition.media.control
 

Methods in javax.microedition.media.control that throw MediaException
 void VideoControl.setDisplaySize(int width, int height)
          Resize the video image.
 void VideoControl.setDisplayFullScreen(boolean fullScreenMode)
          Set the size of the render region for the video clip to be fullscreen.
 byte[] VideoControl.getSnapshot(java.lang.String imageType)
          Gets a snapshot of the displayed content.
 void RecordControl.setRecordLocation(java.lang.String locator)
          Set the output location where the data will be recorded.
 int RecordControl.setRecordSizeLimit(int size)
          Set the record size limit.
 int[] MIDIControl.getProgram(int channel)
          Returns program assigned to channel.
 int[] MIDIControl.getBankList(boolean custom)
          Returns list of installed banks.
 int[] MIDIControl.getProgramList(int bank)
          Given bank, get list of program numbers.
 java.lang.String MIDIControl.getProgramName(int bank, int prog)
          Given bank and program, get name of program.
 java.lang.String MIDIControl.getKeyName(int bank, int prog, int key)
          Given bank, program and key, get name of key.
 


BenQ Mobile

Copyright © 2006 BenQ Mobile GmbH & Co. OHG or respective copyright owner.
All Rights Reserved.
BenQ Corp. is a trademark licensee of Siemens AG.


For further information about Mobility Toolkit (MTK) visit our Developer Portal.