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

📄 java.telephony.callcontrol.callcontrolcall.html

📁 JTAPI_html 用于JTAPI的HTML文档.
💻 HTML
📖 第 1 页 / 共 5 页
字号:
    <dt> <b>Throws:</b> <a href="java.telephony.InvalidArgumentException.html#_top_">InvalidArgumentException</a>    <dd> The TerminalConnection objectprovided is not associated with this Call object.    <dt> <b>Throws:</b> <a href="java.telephony.InvalidStateException.html#_top_">InvalidStateException</a>    <dd> The state of some object is not validas designated by the pre-conditions for this method.    <dt> <b>Throws:</b> <a href="java.telephony.MethodNotSupportedException.html#_top_">MethodNotSupportedException</a>    <dd> This method is not supported bythe implementation.    <dt> <b>Throws:</b> <a href="java.telephony.ResourceUnavailableException.html#_top_">ResourceUnavailableException</a>    <dd> An internal resource neccessaryfor the successful invocation of this method is not available.    <dt> <b>Throws:</b> <a href="java.telephony.PlatformException.html#_top_">PlatformException</a>    <dd> A platform-specific exception occurred.  </dl></dl><a name="getConferenceController()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a><a name="getConferenceController"><b>getConferenceController</b></a><pre>  public abstract <a href="java.telephony.callcontrol.CallControlTerminalConnection.html#_top_">CallControlTerminalConnection</a> getConferenceController() throws <a href="java.telephony.PlatformException.html#_top_">PlatformException</a></pre><dl>  <dd> Gets the TerminalConnection which is current acting as the "conferencecontroller." The conference controller is a TerminalConnection on atelephone Call object whose Terminal is also part of another telephonecall. When performing a conference of two telephone Call objects, thisTerminalConnection and the Terminal's TerminalConnection which is partof the second call are merged into one in the merged Call object.<p>When a Call is initially created, the conference controller is setto null. This method returns non-null only if the application haspreviously successfully invoked the setConferenceController() method.If a TerminalConnection, which is currently the conference controller, moves into the DROPPED state in the Call, the conference controller isthen set to null once again.<p>This method requires that the Provider is IN_SERVICE and the call iseither IDLE or ACTIVE. The pre-conditions are listed below.<p><OL><LI>(call.getProvider()).getState() == IN_SERVICE<LI>call.getState() == IDLE or call.getState() == ACTIVE</OL><p>The post conditions for this method ensure that the returnedTerminalConnection, if not null, is in the call and not in the DROPPEDstate as given below, where 'termconn' is the TerminalConnection returnedfrom this method:<p><OL><LI>(call.getProvider()).getState() == IN_SERVICE<LI>call.getState() == IDLE or call.getState() == ACTIVE<LI>if termconn != null, then termconn is an element of(call.getConnections()).getTerminalConnections()<LI>if termconn != null, then termconn.getState() != DROPPED</OL><p>  <dl>    <dt> <b>Returns:</b>    <dd> The current TerminalConnection acting as the conferencecontroller, null if one is not set.    <dt> <b>Throws:</b> <a href="java.telephony.PlatformException.html#_top_">PlatformException</a>    <dd> A platform-specific exception occurred.  </dl></dl><a name="setTransferController(java.telephony.TerminalConnection)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a><a name="setTransferController"><b>setTransferController</b></a><pre>  public abstract void setTransferController(<a href="java.telephony.TerminalConnection.html#_top_">TerminalConnection</a> termconn) throws <a href="java.telephony.InvalidArgumentException.html#_top_">InvalidArgumentException</a>, <a href="java.telephony.InvalidStateException.html#_top_">InvalidStateException</a>, <a href="java.telephony.MethodNotSupportedException.html#_top_">MethodNotSupportedException</a>, <a href="java.telephony.ResourceUnavailableException.html#_top_">ResourceUnavailableException</a>, <a href="java.telephony.PlatformException.html#_top_">PlatformException</a></pre><dl>  <dd> Sets the TerminalConnection which is current acting as the "transfercontroller." The transfer controller is a TerminalConnection on atelephone Call object whose Terminal is also part of another telephonecall. When performing a transfer of telephone Call objects, thisTerminalConnection and the Terminal's TerminalConnection which is partof the second call are dropped.<p>The Call must be in the ACTIVE state in order for this method not tothrow an exception. The TerminalConnection supplied as the terminalcontroller must be in the Call and must not be in the DROPPED state. TheProvider must also be IN_SERVICE. These pre-conditions are given below.<p><OL><LI>(call.getProvider()).getState() == IN_SERVICE<LI>call.getState() == ACTIVE<LI>termconn union (call.getConnections()).getTerminalConnections() ==termconn<LI>termconn.getState() != DROPPED</OL><p>If these pre-conditions are met, this method sets the givenTerminalConnection as the transfer controller, where the followingpost-conditions are met:<p><OL><LI>(call.getProvider()).getState() == IN_SERVICE<LI>call.getState() == ACTIVE<LI>termconn union (call.getConnections()).getTerminalConnections() ==termconn<LI>termconn.getState() != DROPPED<LI>termconn == call.getTransferController()</OL><p>  <dl>    <dt> <b>Parameters:</b>    <dd> termconn - The TerminalConnection to use as the transfer controller    <dt> <b>Throws:</b> <a href="java.telephony.InvalidArgumentException.html#_top_">InvalidArgumentException</a>    <dd> The TerminalConnection objectprovided is not associated with this Call object.    <dt> <b>Throws:</b> <a href="java.telephony.InvalidStateException.html#_top_">InvalidStateException</a>    <dd> The state of some object is not validas designated by the pre-conditions for this method.    <dt> <b>Throws:</b> <a href="java.telephony.MethodNotSupportedException.html#_top_">MethodNotSupportedException</a>    <dd> This method is not supported bythe implementation.    <dt> <b>Throws:</b> <a href="java.telephony.ResourceUnavailableException.html#_top_">ResourceUnavailableException</a>    <dd> An internal resource neccessaryfor the successful invocation of this method is not available.    <dt> <b>Throws:</b> <a href="java.telephony.PlatformException.html#_top_">PlatformException</a>    <dd> A platform-specific exception occurred.  </dl></dl><a name="getTransferController()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a><a name="getTransferController"><b>getTransferController</b></a><pre>  public abstract <a href="java.telephony.callcontrol.CallControlTerminalConnection.html#_top_">CallControlTerminalConnection</a> getTransferController() throws <a href="java.telephony.PlatformException.html#_top_">PlatformException</a></pre><dl>  <dd> Gets the TerminalConnection which is current acting as the "transfercontroller." The transfer controller is a TerminalConnection on atelephone Call object whose Terminal is also part of another telephonecall. When performing a transfer of two telephone Call objects, thisTerminalConnection and the Terminal's TerminalConnection which is partof the second call are dropped in the merged call.<p>When a Call is initially created, the transfer controller is setto null. This method returns non-null only if the application haspreviously successfully invoked the setTransferController() method.If a TerminalConnection, which is currently the transfer controller, moves into the DROPPED state in the Call, the transfer controller isthen set to null once again.<p>This method requires that the Provider is IN_SERVICE and the call iseither IDLE or ACTIVE. The pre-conditions are listed below.<p><OL><LI>(call.getProvider()).getState() == IN_SERVICE<LI>call.getState() == IDLE or call.getState() == ACTIVE</OL><p>The post conditions for this method ensure that the returnedTerminalConnection, if not null, is in the call and not in the DROPPEDstate as given below, where 'termconn' is the TerminalConnection returnedfrom this method:<p><OL><LI>(call.getProvider()).getState() == IN_SERVICE<LI>call.getState() == IDLE or call.getState() == ACTIVE<LI>if termconn != null, then termconn is an element of(call.getConnections()).getTerminalConnections()<LI>if termconn != null, then termconn.getState() != DROPPED</OL><p>  <dl>    <dt> <b>Returns:</b>    <dd> The current TerminalConnection acting as the transfercontroller, null if one is not set.    <dt> <b>Throws:</b> <a href="java.telephony.PlatformException.html#_top_">PlatformException</a>    <dd> A platform-specific exception occurred.  </dl></dl><a name="setConferenceEnable(boolean)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a><a name="setConferenceEnable"><b>setConferenceEnable</b></a><pre>  public abstract void setConferenceEnable(boolean enable) throws <a href="java.telephony.InvalidArgumentException.html#_top_">InvalidArgumentException</a>, <a href="java.telephony.InvalidStateException.html#_top_">InvalidStateException</a>, <a href="java.telephony.MethodNotSupportedException.html#_top_">MethodNotSupportedException</a>, <a href="java.telephony.PrivilegeViolationException.html#_top_">PrivilegeViolationException</a>, <a href="java.telephony.PlatformException.html#_top_">PlatformException</a></pre><dl>  <dd> Controls whether this Call object is permitted or able to performthe conferencing feature. If the 'enable' argument is true, thismethod attempts to turn on the conferencing ability. If 'false' thismethod turns disallows the conferencing feature. If the implementationis unable to support conferencing, a setConferenceEnable(true) willthrow an exception.<p>This method must be called when the Call object is first create andin the IDLE state. The provider must also be in service. The pre-conditions are as follows:<p><OL><LI>(call.getProvider()).getState() == IN_SERVICE<LI>call.getState() == IDLE</OL><p>The post-conditions are as follows, given an exception is not thrownand the variable 'enable' represents the value of the parameter passedto this method.<p><OL><LI>(call.getProvider()).getState() == IN_SERVICE<LI>call.getState() == IDLE<LI>enable = call.getConferenceEnable();</OL><p>  <dl>    <dt> <b>Parameters:</b>    <dd> enable - True turns conferencing on, false turns conferencing off.    <dt> <b>Throws:</b> <a href="java.telephony.InvalidArgumentException.html#_top_">InvalidArgumentException</a>    <dd> The Connection object provided isnot associated with this Address object.    <dt> <b>Throws:</b> <a href="java.telephony.InvalidStateException.html#_top_">InvalidStateException</a>    <dd> The state of some object is not validas designated by the pre-conditions for this method.    <dt> <b>Throws:</b> <a href="java.telephony.MethodNotSupportedException.html#_top_">MethodNotSupportedException</a>    <dd> This method is not supported bythe implementation.    <dt> <b>Throws:</b> <a href="java.telephony.PrivilegeViolationException.html#_top_">PrivilegeViolationException</a>    <dd> The application does not havethe proper authority to invoke this method.    <dt> <b>Throws:</b> <a href="java.telephony.PlatformException.html#_top_">PlatformException</a>    <dd> A platform-specific exception occurred.  </dl></dl><a name="getConferenceEnable()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a><a name="getConferenceEnable"><b>getConferenceEnable</b></a><pre>  public abstract boolean getConferenceEnable() throws <a href="java.telephony.PlatformException.html#_top_">PlatformException</a></pre><dl>  <dd> Return true if conferencing is enabled, false otherwise. Applicationsmay use this method initially to obtain the default value set by theimplementation and may attempt to change this value using theCallControlCall.setConferenceEnable() method.<p>  <dl>    <dt> <b>Returns:</b>    <dd> True if conferencing is enabled, false otherwise.

⌨️ 快捷键说明

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