⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 java.telephony.phone.phoneringer.html

📁 JTAPI_html 用于JTAPI的HTML文档.
💻 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.PhoneRinger</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.PhoneMicrophone.html#_top_">Previous</a>  <a href="java.telephony.phone.PhoneSpeaker.html#_top_">Next</a>  <a href="AllNames.html">Index</a></pre><hr><h1>  Interface java.telephony.phone.PhoneRinger</h1><dl>  <dt> public interface <b>PhoneRinger</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> Ringer volume definition for the ringer at maximum volume.  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">	<a href="#MIDDLE"><b>MIDDLE</b></a>  <dd> Ringer volume definition for the middle volume.  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">	<a href="#OFF"><b>OFF</b></a>  <dd> Ringer volume definition for the ringer off.</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="#getNumberOfRingPatterns()"><b>getNumberOfRingPatterns</b></a>()  <dd> Returns the number of available ringing patterns.  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">	<a href="#getNumberOfRings()"><b>getNumberOfRings</b></a>()  <dd> Returns the number of complete ring cycles that the ringer has beenringing.  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">	<a href="#getRingerPattern()"><b>getRingerPattern</b></a>()  <dd> Returns the current ringer pattern.  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">	<a href="#getRingerVolume()"><b>getRingerVolume</b></a>()  <dd> Returns the current ringer volume.  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">	<a href="#isRingerOn()"><b>isRingerOn</b></a>()  <dd> Returns true if the ringer is on, false otherwise.  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">	<a href="#setRingerPattern(int)"><b>setRingerPattern</b></a>(int)  <dd> Set the ringer pattern given an valid index number returned bygetNumberOfRingPatterns().  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">	<a href="#setRingerVolume(int)"><b>setRingerVolume</b></a>(int)  <dd> Sets the ringer volume between ZERO or FULL, inclusive.</dl><a name="variables"></a><h2>  <img src="images/variables.gif" width=153 height=38 alt="Variables"></h2><a name="OFF"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a><b>OFF</b><pre>  public final static int OFF</pre><dl>  <dd> Ringer volume definition for the ringer off.</dl><a name="MIDDLE"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a><b>MIDDLE</b><pre>  public final static int MIDDLE</pre><dl>  <dd> Ringer volume definition for the middle volume.</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> Ringer volume definition for the ringer at maximum volume.</dl><a name="methods"></a><h2>  <img src="images/methods.gif" width=151 height=38 alt="Methods"></h2><a name="isRingerOn()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a><a name="isRingerOn"><b>isRingerOn</b></a><pre>  public abstract int isRingerOn() throws <a href="java.telephony.PlatformException.html#_top_">PlatformException</a></pre><dl>  <dd> Returns true if the ringer is on, false otherwise.<p>  <dl>    <dt> <b>Returns:</b>    <dd> True if the ringer is on, false otherwise    <dt> <b>Throws:</b> <a href="java.telephony.PlatformException.html#_top_">PlatformException</a>    <dd> A platform-specific exception occurred.  </dl></dl><a name="getRingerVolume()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a><a name="getRingerVolume"><b>getRingerVolume</b></a><pre>  public abstract int getRingerVolume() throws <a href="java.telephony.PlatformException.html#_top_">PlatformException</a></pre><dl>  <dd> Returns the current ringer volume.<p>  <dl>    <dt> <b>Returns:</b>    <dd> The current ringer volume    <dt> <b>Throws:</b> <a href="java.telephony.PlatformException.html#_top_">PlatformException</a>    <dd> A platform-specific exception occurred.  </dl></dl><a name="setRingerVolume(int)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a><a name="setRingerVolume"><b>setRingerVolume</b></a><pre>  public abstract void setRingerVolume(int volume) throws <a href="java.telephony.InvalidArgumentException.html#_top_">InvalidArgumentException</a>, <a href="java.telephony.PlatformException.html#_top_">PlatformException</a></pre><dl>  <dd> Sets the ringer volume between ZERO or FULL, inclusive.<p>  <dl>    <dt> <b>Parameters:</b>    <dd> volume - The ringer volume, between ZERO and FULL, inclusive.    <dt> <b>Throws:</b> <a href="java.telephony.InvalidArgumentException.html#_top_">InvalidArgumentException</a>    <dd> The volume provided was not valid.    <dt> <b>Throws:</b> <a href="java.telephony.PlatformException.html#_top_">PlatformException</a>    <dd> A platform-specific exception occurred.  </dl></dl><a name="getRingerPattern()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a><a name="getRingerPattern"><b>getRingerPattern</b></a><pre>  public abstract int getRingerPattern() throws <a href="java.telephony.PlatformException.html#_top_">PlatformException</a></pre><dl>  <dd> Returns the current ringer pattern. Applications may also turn the ringeroff using this method as well.<p>  <dl>    <dt> <b>Returns:</b>    <dd> The current ringer pattern.    <dt> <b>Throws:</b> <a href="java.telephony.PlatformException.html#_top_">PlatformException</a>    <dd> A platform-specific exception occurred.  </dl></dl><a name="getNumberOfRingPatterns()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a><a name="getNumberOfRingPatterns"><b>getNumberOfRingPatterns</b></a><pre>  public abstract int getNumberOfRingPatterns() throws <a href="java.telephony.PlatformException.html#_top_">PlatformException</a></pre><dl>  <dd> Returns the number of available ringing patterns. An index between zeroand the returns value minus one may be used for the setRingerPattern()method.<p>  <dl>    <dt> <b>Returns:</b>    <dd> The number of available ringer patterns.    <dt> <b>Throws:</b> <a href="java.telephony.PlatformException.html#_top_">PlatformException</a>    <dd> A platform-specific exception occurred.  </dl></dl><a name="setRingerPattern(int)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a><a name="setRingerPattern"><b>setRingerPattern</b></a><pre>  public abstract void setRingerPattern(int ringerPattern) throws <a href="java.telephony.InvalidArgumentException.html#_top_">InvalidArgumentException</a>, <a href="java.telephony.PlatformException.html#_top_">PlatformException</a></pre><dl>  <dd> Set the ringer pattern given an valid index number returned bygetNumberOfRingPatterns().<p>  <dl>    <dt> <b>Parameters:</b>    <dd> ringerPattern - The desired ringer pattern.    <dt> <b>Throws:</b> <a href="java.telephony.InvalidArgumentException.html#_top_">InvalidArgumentException</a>    <dd> The ring pattern provided was notvalid.    <dt> <b>Throws:</b> <a href="java.telephony.PlatformException.html#_top_">PlatformException</a>    <dd> A platform-specific exception occurred.  </dl></dl><a name="getNumberOfRings()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a><a name="getNumberOfRings"><b>getNumberOfRings</b></a><pre>  public abstract int getNumberOfRings() throws <a href="java.telephony.PlatformException.html#_top_">PlatformException</a></pre><dl>  <dd> Returns the number of complete ring cycles that the ringer has beenringing. A value of 0 indicates that the ringer is not being rung.<p>  <dl>    <dt> <b>Returns:</b>    <dd> The current ringer count.    <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.PhoneMicrophone.html#_top_">Previous</a>  <a href="java.telephony.phone.PhoneSpeaker.html#_top_">Next</a>  <a href="AllNames.html">Index</a></pre></body></html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -