Interface java.telephony.phone.PhoneMicrophone
All Packages Class Hierarchy This Package Previous Next Index
Interface java.telephony.phone.PhoneMicrophone
- public interface PhoneMicrophone
- extends Object
- extends Component
-
FULL
- The full microhphone gain.
-
MID
- The microphone gain is MID.
-
MUTE
- The microphone gain is MUTE.
-
getGain()
- Returns the current microphone gain.
-
setGain(int)
- Sets the microphone gain to a value between MUTE and FULL, inclusive.
MUTE
public final static int MUTE
- The microphone gain is MUTE.
MID
public final static int MID
- The microphone gain is MID.
FULL
public final static int FULL
- The full microhphone gain.
getGain
public abstract int getGain() throws PlatformException
- Returns the current microphone gain.
- Returns:
- The current microphone gain.
- Throws: PlatformException
- A platform-specific exception occurred.
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