QSoundABBVolumeCtrlpublic class QSoundABBVolumeCtrl extends Object implements javax.microedition.media.control.VolumeControl
Fields Summary |
---|
private int | peer | private ABBBasicPlayer | player |
Constructors Summary |
---|
public QSoundABBVolumeCtrl(int lp)
peer = lp;
player = null;
| public QSoundABBVolumeCtrl(int lp, javax.microedition.media.Player pl)
peer = lp;
player = (pl instanceof ABBBasicPlayer) ? (ABBBasicPlayer)pl : null;
|
Methods Summary |
---|
public int | getLevel()
return nGetLevel(peer);
| public boolean | isMuted()
return nIsMuted(peer);
| private native int | nGetLevel(int peer)
| private native boolean | nIsMuted(int peer)
| private native int | nSetLevel(int peer, int level)
| private native void | nSetMute(int peer, boolean mute)
| public int | setLevel(int level)
if(player != null)
player.sendEvent(javax.microedition.media.PlayerListener.VOLUME_CHANGED, this);
return nSetLevel(peer, level);
| public void | setMute(boolean mute)
nSetMute(peer, mute);
|
|