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

static final int MUTE
Speaker volume definition for muting.

See Also:
Constant Field Values

MID

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

See Also:
Constant Field Values

FULL

static final int FULL
Speaker volume definition for highest volume.

See Also:
Constant Field Values
Method Detail

getVolume

int getVolume()
Returns the volume of the speaker.

Returns:
The volume of the speaker.

setVolume

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.


Copyright © 2006 Avaya All Rights Reserved.