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

📄 java.telephony.callcontrol.callcontroladdress.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.callcontrol.CallControlAddress</title></head><body><pre><a href="packages.html">All Packages</a>  <a href="tree.html">Class Hierarchy</a>  <a href="Package-java.telephony.callcontrol.html">This Package</a>  <a href="Package-java.telephony.callcontrol.html">Previous</a>  <a href="java.telephony.callcontrol.CallControlAddressObserver.html#_top_">Next</a>  <a href="AllNames.html">Index</a></pre><hr><h1>  Interface java.telephony.callcontrol.CallControlAddress</h1><dl>  <dt> public interface <b>CallControlAddress</b>  <dt> extends <a href="java.lang.Object.html#_top_">Object</a>  <dt> extends <a href="java.telephony.Address.html#_top_">Address</a></dl>The CallControlAddress interface extends the core Address interface. Itprovides additional methods which perform more advanced features on aper-address basis.<p>These additional methods include setting the forwarding characteristics,the do-not-disturb characteristics, and the message waiting characteristics.<hr><a name="index"></a><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="#cancelForwarding()"><b>cancelForwarding</b></a>()  <dd> Cancels all of the forwarding instructions on this Address.  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">	<a href="#getDoNotDisturb()"><b>getDoNotDisturb</b></a>()  <dd> Returns true if the do-not-disturb feature is on, false otherwise.  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">	<a href="#getForwarding()"><b>getForwarding</b></a>()  <dd> Returns an array of forwarding instructions currently set for this telephone Address.  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">	<a href="#getMessageWaiting()"><b>getMessageWaiting</b></a>()  <dd> Returns true if message waiting is turned on, false otherwise.  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">	<a href="#setDoNotDisturb(boolean)"><b>setDoNotDisturb</b></a>(boolean)  <dd> Specifices whether the do not disturb feature should be turned on forthis address.  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">	<a href="#setForwarding(java.telephony.callcontrol.CallControlForwarding[])"><b>setForwarding</b></a>(CallControlForwarding[])  <dd> Sets the forwarding characteristics for this telephony Address.  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">	<a href="#setMessageWaiting(boolean)"><b>setMessageWaiting</b></a>(boolean)  <dd> Specifices whether the message waiting feature should be turned on forthis address.</dl><a name="methods"></a><h2>  <img src="images/methods.gif" width=151 height=38 alt="Methods"></h2><a name="setForwarding(java.telephony.callcontrol.CallControlForwarding[])"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a><a name="setForwarding"><b>setForwarding</b></a><pre>  public abstract void setForwarding(<a href="java.telephony.callcontrol.CallControlForwarding.html#_top_">CallControlForwarding</a> instructions[]) throws <a href="java.telephony.PlatformException.html#_top_">PlatformException</a></pre><dl>  <dd> Sets the forwarding characteristics for this telephony Address. Thisforwarding command cancels all previous forwarding instructions. Thismethod takes an array of CallControlForwarding object. Each objectdescribe a different rule for different types of forwarding.<p>  <dl>    <dt> <b>Parameters:</b>    <dd> instructions - An array of address forwarding instructions    <dt> <b>Throws:</b> <a href="java.telephony.PlatformException.html#_top_">PlatformException</a>    <dd> A platform-specific exception occurred.  </dl></dl><a name="getForwarding()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a><a name="getForwarding"><b>getForwarding</b></a><pre>  public abstract <a href="java.telephony.callcontrol.CallControlForwarding.html#_top_">CallControlForwarding</a>[] getForwarding() throws <a href="java.telephony.PlatformException.html#_top_">PlatformException</a></pre><dl>  <dd> Returns an array of forwarding instructions currently set for this telephone Address. If there are no instructions, this method returns null.<p>  <dl>    <dt> <b>Returns:</b>    <dd> An array of address forwarding instructions, null if there are none.    <dt> <b>Throws:</b> <a href="java.telephony.PlatformException.html#_top_">PlatformException</a>    <dd> A platform-specific exception occurred.  </dl></dl><a name="cancelForwarding()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a><a name="cancelForwarding"><b>cancelForwarding</b></a><pre>  public abstract void cancelForwarding() throws <a href="java.telephony.PlatformException.html#_top_">PlatformException</a></pre><dl>  <dd> Cancels all of the forwarding instructions on this Address. When thismethod completes, the getForwarding() will return null.<p>  <dl>    <dt> <b>Throws:</b> <a href="java.telephony.PlatformException.html#_top_">PlatformException</a>    <dd> A platform-specific exception occurred.  </dl></dl><a name="getDoNotDisturb()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a><a name="getDoNotDisturb"><b>getDoNotDisturb</b></a><pre>  public abstract boolean getDoNotDisturb() throws <a href="java.telephony.PlatformException.html#_top_">PlatformException</a></pre><dl>  <dd> Returns true if the do-not-disturb feature is on, false otherwise. TheProvider must be IN_SERVICE<p>  <dl>    <dt> <b>Returns:</b>    <dd> True if do not disturb is on, false if it is off.    <dt> <b>Throws:</b> <a href="java.telephony.PlatformException.html#_top_">PlatformException</a>    <dd> A platform-specific exception occurred.  </dl></dl><a name="setDoNotDisturb(boolean)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a><a name="setDoNotDisturb"><b>setDoNotDisturb</b></a><pre>  public abstract void setDoNotDisturb(boolean enable) throws <a href="java.telephony.PlatformException.html#_top_">PlatformException</a></pre><dl>  <dd> Specifices whether the do not disturb feature should be turned on forthis address. If the first argument, enable, is true, do not disturb isturned on. If enable is false, do not disturb is turned off.<p>The Provider must in IN_SERVICE as a pre-condition for the method.<OL><LI>(address.getProvider()).getState() == IN_SERVICE</OL><p>If this method returns successfully without throwing an exception, theProvider is still IN_SERVICE and the do not disturb state is set tothe argument 'enable' as given in the post-conditions below:<p><OL><LI>(address.getProvider()).getState() == IN_SERVICE<LI>address.getDoNotDisturb() == enable</OL><p>  <dl>    <dt> <b>Parameters:</b>    <dd> enable - True to turn do not disturb on, false to turn messagewaiting off.    <dt> <b>Throws:</b> <a href="java.telephony.PlatformException.html#_top_">PlatformException</a>    <dd> A platform-specific exception occurred.  </dl></dl><a name="getMessageWaiting()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a><a name="getMessageWaiting"><b>getMessageWaiting</b></a><pre>  public abstract boolean getMessageWaiting() throws <a href="java.telephony.PlatformException.html#_top_">PlatformException</a></pre><dl>  <dd> Returns true if message waiting is turned on, false otherwise. TheProvider must be IN_SERVICE.<p>  <dl>    <dt> <b>Returns:</b>    <dd> True if message waiting is on, false if it is off.    <dt> <b>Throws:</b> <a href="java.telephony.PlatformException.html#_top_">PlatformException</a>    <dd> A platform-specific exception occurred.  </dl></dl><a name="setMessageWaiting(boolean)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a><a name="setMessageWaiting"><b>setMessageWaiting</b></a><pre>  public abstract void setMessageWaiting(boolean enable) throws <a href="java.telephony.PlatformException.html#_top_">PlatformException</a></pre><dl>  <dd> Specifices whether the message waiting feature should be turned on forthis address. If the first argument, enable, is true, message waiting isturned on. If enable is false, message waiting is turned off.<p>The Provider must in IN_SERVICE as a pre-condition for the method.<OL><LI>(address.getProvider()).getState() == IN_SERVICE</OL><p>If this method returns successfully without throwing an exception, theProvider is still IN_SERVICE and the message waiting state is set tothe argument 'enable' as given in the post-conditions below:<p><OL><LI>(address.getProvider()).getState() == IN_SERVICE<LI>address.getMessageWaiting() == enable</OL><p>  <dl>    <dt> <b>Parameters:</b>    <dd> enable - True to turn message waiting on, false to turn messagewaiting off.    <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.callcontrol.html">This Package</a>  <a href="Package-java.telephony.callcontrol.html">Previous</a>  <a href="java.telephony.callcontrol.CallControlAddressObserver.html#_top_">Next</a>  <a href="AllNames.html">Index</a></pre></body></html>

⌨️ 快捷键说明

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