All Packages  Class Hierarchy  This Package  Previous  Next  Index

Interface java.telephony.phone.PhoneMicrophone

public interface PhoneMicrophone
extends Component

Variable Index

 o FULL
The full microhphone gain.
 o MID
The microphone gain is MID.
 o MUTE
The microphone gain is MUTE.

Method Index

 o getGain()
Returns the current microphone gain.
 o setGain(int)
Sets the microphone gain to a value between MUTE and FULL, inclusive.

Variables

 o MUTE
 public static final int MUTE
The microphone gain is MUTE.

 o MID
 public static final int MID
The microphone gain is MID.

 o FULL
 public static final int FULL
The full microhphone gain.

Methods

 o getGain
 public abstract int getGain() throws PlatformException
Returns the current microphone gain.

Returns:
The current microphone gain.
Throws: PlatformException
A platform-specific exception occurred.
 o setGain
 public abstract void setGain(int gain) throws InvalidArgumentException, PlatformException
Sets the microphone gain to a value between MUTE and FULL, inclusive.

Parameters:
gain - A microphone gain between MUTE and FULL, inclusive.
Throws: InvalidArgumentException
The microphone gain is not valid.
Throws: PlatformException
A platform-specific exception occurred.

All Packages  Class Hierarchy  This Package  Previous  Next  Index