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. |
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.
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.
Send comments to: JSR-43@ectf.org