JSR-043: JTAPI-1.4

javax.telephony.phone
Interface PhoneSpeaker

All Superinterfaces:
Component

public interface PhoneSpeaker
extends Component

Phone speaker interface


Field Summary
static int FULL
          Speaker volume definition for highest volume.
static int MID
          Speaker volume definition for the middle volume.
static int MUTE
          Speaker volume definition for muting.
 
Method Summary
 int getVolume()
          Returns the volume of the speaker.
 void setVolume(int volume)
          Sets the speaker or handset volume.
 
Methods inherited from interface javax.telephony.phone.Component
getCapabilities, getName
 

Field Detail

MUTE

public static final int MUTE
Speaker volume definition for muting.

MID

public static final int MID
Speaker volume definition for the middle volume.

FULL

public static final int FULL
Speaker volume definition for highest volume.
Method Detail

getVolume

public int getVolume()
Returns the volume of the speaker.

Returns:
The volume of the speaker.

setVolume

public void setVolume(int volume)
Sets the speaker or handset volume. The volume value may be anything between MUTE or FULL, inclusive.

Parameters:
volume - The volume, between MUTE and FULL.

JSR-043: JTAPI-1.4

Send comments to: JSR-43@ectf.org