Deprecated API

Deprecated Classes
com.nokia.mid.sound.Sound
          As of Nokia UI API 1.1 in devices with MIDP 2.0 or higher, replaced by classes in javax.microedition.media package. 
 

Deprecated Interfaces
com.nokia.mid.sound.SoundListener
          As of Nokia UI API 1.1 in devices with MIDP 2.0 or higher, replaced by javax.microedition.media.PlayerListener interface. 
 

Deprecated Methods
com.nokia.mid.ui.FullCanvas.addCommand(Command)
          As of Nokia UI API 1.1 in devices with MIDP 2.0 or higher, replaced by javax.microedition.lcdui.Canvas.addCommand(Command). 
com.nokia.mid.ui.DirectGraphics.drawImage(Image, int, int, int, int)
          As of Nokia UI API 1.1 in devices with MIDP 2.0 or higher, replaced by javax.microedition.lcdui.Graphics.drawRegion(javax.microedition.lcdui.Image, int, int, int, int, int, int, int, int). 
com.nokia.mid.ui.DeviceControl.flashLights(long)
          As of Nokia UI API 1.1 in devices with MIDP 2.0 or higher, replaced by javax.microedition.lcdui.Display.flashBacklight(int). 
com.nokia.mid.sound.Sound.getGain()
          As of Nokia UI API 1.1 in devices with MIDP 2.0 or higher, replaced by javax.microedition.media.VolumeControl.getLevel(int). 
com.nokia.mid.sound.Sound.getState()
          As of Nokia UI API 1.1 in devices with MIDP 2.0 or higher, replaced by javax.microedition.media.Manager.Player.getState(). 
com.nokia.mid.sound.Sound.getSupportedFormats()
          As of Nokia UI API 1.1 in devices with MIDP 2.0 or higher, replaced by javax.microedition.media.Manager.getSupportedContentTypes(String). 
com.nokia.mid.sound.Sound.init(byte[], int)
          As of Nokia UI API 1.1 in devices with MIDP 2.0 or higher, replaced by javax.microedition.media.Manager.createPlayer(java.io.InputStream, String). 
com.nokia.mid.sound.Sound.init(int, long)
          As of Nokia UI API 1.1 in devices with MIDP 2.0 or higher, replaced by javax.microedition.media.Manager.playTone(int, int, int). 
com.nokia.mid.sound.Sound.play(int)
          As of Nokia UI API 1.1 in devices with MIDP 2.0 or higher, replaced by javax.microedition.media.Player.setLoopCount(int). 
com.nokia.mid.sound.Sound.release()
          As of Nokia UI API 1.1 in devices with MIDP 2.0 or higher, replaced by javax.microedition.media.Player.deallocate(). 
com.nokia.mid.sound.Sound.resume()
          As of Nokia UI API 1.1 in devices with MIDP 2.0 or higher, replaced by javax.microedition.media.Player.start(). 
com.nokia.mid.ui.FullCanvas.setCommandListener(CommandListener)
          As of Nokia UI API 1.1 in devices with MIDP 2.0 or higher, replaced by javax.microedition.lcdui.Canvas.setCommandListener(CommandListener). 
com.nokia.mid.sound.Sound.setGain(int)
          As of Nokia UI API 1.1 in devices with MIDP 2.0 or higher, replaced by javax.microedition.media.VolumeControl.setLevel(int). 
com.nokia.mid.sound.Sound.setSoundListener(SoundListener)
          As of Nokia UI API 1.1 in devices with MIDP 2.0 or higher, replaced by javax.microedition.media.Player.addPlayerListener(javax.microedition.media.PlayerListener). 
com.nokia.mid.sound.SoundListener.soundStateChanged(Sound, int)
          As of Nokia UI API 1.1 in devices with MIDP 2.0 or higher, replaced by javax.microedition.media.PlayerListener.playerUpdate(javax.microedition.media.Player, String, Object). 
com.nokia.mid.ui.DeviceControl.startVibra(int, long)
          As of Nokia UI API 1.1 in devices with MIDP 2.0 or higher, replaced by javax.microedition.lcdui.Display.vibrate(int). 
com.nokia.mid.sound.Sound.stop()
          As of Nokia UI API 1.1 in devices with MIDP 2.0 or higher, replaced by javax.microedition.media.Player.stop(). 
com.nokia.mid.ui.DeviceControl.stopVibra()
          As of Nokia UI API 1.1 in devices with MIDP 2.0 or higher, replaced by javax.microedition.lcdui.Display.vibrate(int) 
 

Deprecated Constructors
com.nokia.mid.ui.FullCanvas()
          As of Nokia UI API 1.1 in devices with MIDP 2.0 or higher, replaced by javax.microedition.lcdui.Canvas.setFullScreenMode(boolean). 
com.nokia.mid.sound.Sound(byte[], int)
          As of Nokia UI API 1.1 in devices with MIDP 2.0 or higher, replaced by javax.microedition.media.Manager.createPlayer(java.io.InputStream, String). 
com.nokia.mid.sound.Sound(int, long)
          As of Nokia UI API 1.1 in devices with MIDP 2.0 or higher, replaced by javax.microedition.media.Manager.playTone(int, int, int). 
 


forum.nokia.com/java

Copyright (c) 2002-2004 Nokia Corporation. All Rights Reserved.
Java is a trademark or registered trademark of Sun Microsystems, Inc.