📄 java.telephony.phone.phonemicrophone.html
字号:
<!--NewPage--><html><head><!-- Generated by javadoc on Fri Feb 07 16:42:30 PST 1997 --><a name="_top_"></a><title> Interface java.telephony.phone.PhoneMicrophone</title></head><body><pre><a href="packages.html">All Packages</a> <a href="tree.html">Class Hierarchy</a> <a href="Package-java.telephony.phone.html">This Package</a> <a href="java.telephony.phone.PhoneLamp.html#_top_">Previous</a> <a href="java.telephony.phone.PhoneRinger.html#_top_">Next</a> <a href="AllNames.html">Index</a></pre><hr><h1> Interface java.telephony.phone.PhoneMicrophone</h1><dl> <dt> public interface <b>PhoneMicrophone</b> <dt> extends <a href="java.lang.Object.html#_top_">Object</a> <dt> extends <a href="java.telephony.phone.Component.html#_top_">Component</a></dl><hr><a name="index"></a><h2> <img src="images/variable-index.gif" width=207 height=38 alt="Variable Index"></h2><dl> <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o "> <a href="#FULL"><b>FULL</b></a> <dd> The full microhphone gain. <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o "> <a href="#MID"><b>MID</b></a> <dd> The microphone gain is MID. <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o "> <a href="#MUTE"><b>MUTE</b></a> <dd> The microphone gain is MUTE.</dl><h2> <img src="images/method-index.gif" width=207 height=38 alt="Method Index"></h2><dl> <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o "> <a href="#getGain()"><b>getGain</b></a>() <dd> Returns the current microphone gain. <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o "> <a href="#setGain(int)"><b>setGain</b></a>(int) <dd> Sets the microphone gain to a value between MUTE and FULL, inclusive.</dl><a name="variables"></a><h2> <img src="images/variables.gif" width=153 height=38 alt="Variables"></h2><a name="MUTE"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a><b>MUTE</b><pre> public final static int MUTE</pre><dl> <dd> The microphone gain is MUTE.</dl><a name="MID"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a><b>MID</b><pre> public final static int MID</pre><dl> <dd> The microphone gain is MID.</dl><a name="FULL"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a><b>FULL</b><pre> public final static int FULL</pre><dl> <dd> The full microhphone gain.</dl><a name="methods"></a><h2> <img src="images/methods.gif" width=151 height=38 alt="Methods"></h2><a name="getGain()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a><a name="getGain"><b>getGain</b></a><pre> public abstract int getGain() throws <a href="java.telephony.PlatformException.html#_top_">PlatformException</a></pre><dl> <dd> Returns the current microphone gain.<p> <dl> <dt> <b>Returns:</b> <dd> The current microphone gain. <dt> <b>Throws:</b> <a href="java.telephony.PlatformException.html#_top_">PlatformException</a> <dd> A platform-specific exception occurred. </dl></dl><a name="setGain(int)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a><a name="setGain"><b>setGain</b></a><pre> public abstract void setGain(int gain) throws <a href="java.telephony.InvalidArgumentException.html#_top_">InvalidArgumentException</a>, <a href="java.telephony.PlatformException.html#_top_">PlatformException</a></pre><dl> <dd> Sets the microphone gain to a value between MUTE and FULL, inclusive.<p> <dl> <dt> <b>Parameters:</b> <dd> gain - A microphone gain between MUTE and FULL, inclusive. <dt> <b>Throws:</b> <a href="java.telephony.InvalidArgumentException.html#_top_">InvalidArgumentException</a> <dd> The microphone gain is not valid. <dt> <b>Throws:</b> <a href="java.telephony.PlatformException.html#_top_">PlatformException</a> <dd> A platform-specific exception occurred. </dl></dl><hr><pre><a href="packages.html">All Packages</a> <a href="tree.html">Class Hierarchy</a> <a href="Package-java.telephony.phone.html">This Package</a> <a href="java.telephony.phone.PhoneLamp.html#_top_">Previous</a> <a href="java.telephony.phone.PhoneRinger.html#_top_">Next</a> <a href="AllNames.html">Index</a></pre></body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -