📄 java.telephony.callobserver.html
字号:
<!--NewPage--><html><head><!-- Generated by javadoc on Fri Feb 07 16:42:30 PST 1997 --><a name="_top_"></a><title> Interface java.telephony.CallObserver</title></head><body><pre><a href="packages.html">All Packages</a> <a href="tree.html">Class Hierarchy</a> <a href="Package-java.telephony.html">This Package</a> <a href="java.telephony.Call.html#_top_">Previous</a> <a href="java.telephony.Connection.html#_top_">Next</a> <a href="AllNames.html">Index</a></pre><hr><h1> Interface java.telephony.CallObserver</h1><dl> <dt> public interface <b>CallObserver</b> <dt> extends <a href="java.lang.Object.html#_top_">Object</a></dl>The CallObserver interface reports all state changes on the Callobject as events. It also reports all state changes in Connectionsand TerminalConnections which are associated with this Call. Applicationsinstantiate an object which implements this interface and uses the<EM>Call.addObserver()</EM> method to begin the delivery of events to thisobject. Applications may use the <EM>Call.removeObserver()</EM> method todiscontinue the delivery of events to an observer object. A list ofobservers on the Call object can be obtained via the<EM>Call.getObservers()</EM> method. Events will be delivered to theCallObserver interface only if the Provider is in the Provider.IN_SERVICEstate.<p>The CallObserver interface has one method: <EM>callChangedEvent()</EM>.This method takes a single argument, an array of CallEv objects. Applicationsiterate over this array for the individual events. All Call, Connection,and TerminalConnection events must extend the java.telephony.events.CallEvinterface.<p>The CallObserver reports a list of events because several state changesmay occur at once. To maintain the consistency between the state changesin the call model and the events reported to the application, severalevents may need to be delivered at once.<p>The CallObserver interface reports the following events. The hyper-linksbelow provide access to the specifications for these events.<p><dl> <dt> <b>See Also:</b> <dd> <a href="java.telephony.events.CallEv.html#_top_">CallEv</a>, <a href="java.telephony.events.ConnEv.html#_top_">ConnEv</a>, <a href="java.telephony.events.TermConnEv.html#_top_">TermConnEv</a>, <a href="java.telephony.events.CallActiveEv.html#_top_">CallActiveEv</a>, <a href="java.telephony.events.CallInvalidEv.html#_top_">CallInvalidEv</a>, <a href="java.telephony.events.ConnAlertingEv.html#_top_">ConnAlertingEv</a>, <a href="java.telephony.events.ConnConnectedEv.html#_top_">ConnConnectedEv</a>, <a href="java.telephony.events.ConnCreatedEv.html#_top_">ConnCreatedEv</a>, <a href="java.telephony.events.ConnDisconnectedEv.html#_top_">ConnDisconnectedEv</a>, <a href="java.telephony.events.ConnFailedEv.html#_top_">ConnFailedEv</a>, <a href="java.telephony.events.ConnInProgressEv.html#_top_">ConnInProgressEv</a>, <a href="java.telephony.events.ConnUnknownEv.html#_top_">ConnUnknownEv</a>, <a href="java.telephony.events.TermConnActiveEv.html#_top_">TermConnActiveEv</a>, <a href="java.telephony.events.TermConnCreatedEv.html#_top_">TermConnCreatedEv</a>, <a href="java.telephony.events.TermConnDroppedEv.html#_top_">TermConnDroppedEv</a>, <a href="java.telephony.events.TermConnPassiveEv.html#_top_">TermConnPassiveEv</a>, <a href="java.telephony.events.TermConnRingingEv.html#_top_">TermConnRingingEv</a></dl><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="#callChangedEvent(java.telephony.events.CallEv[])"><b>callChangedEvent</b></a>(CallEv[]) <dd> Reports all events on the CallObserver interface.</dl><a name="methods"></a><h2> <img src="images/methods.gif" width=151 height=38 alt="Methods"></h2><a name="callChangedEvent(java.telephony.events.CallEv[])"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a><a name="callChangedEvent"><b>callChangedEvent</b></a><pre> public abstract void callChangedEvent(<a href="java.telephony.events.CallEv.html#_top_">CallEv</a> eventList[])</pre><dl> <dd> Reports all events on the CallObserver interface. This method takesan array of CallEv object as its argument which reports all these statechanges which have occurred on the Call, Connection, and TerminalConnectionobject.<p> <dl> <dt> <b>Parameters:</b> <dd> eventList - The list of Call events. </dl></dl><hr><pre><a href="packages.html">All Packages</a> <a href="tree.html">Class Hierarchy</a> <a href="Package-java.telephony.html">This Package</a> <a href="java.telephony.Call.html#_top_">Previous</a> <a href="java.telephony.Connection.html#_top_">Next</a> <a href="AllNames.html">Index</a></pre></body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -