📄 java.telephony.terminalobserver.html
字号:
<!--NewPage--><html><head><!-- Generated by javadoc on Fri Feb 07 16:42:30 PST 1997 --><a name="_top_"></a><title> Interface java.telephony.TerminalObserver</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.TerminalConnection.html#_top_">Previous</a> <a href="Package-java.telephony.html">Next</a> <a href="AllNames.html">Index</a></pre><hr><h1> Interface java.telephony.TerminalObserver</h1><dl> <dt> public interface <b>TerminalObserver</b> <dt> extends <a href="java.lang.Object.html#_top_">Object</a></dl>The TerminalObserver interface reports all state changes on the Terminalobject as events. Applications instantiate an object which implementsthis interface and uses the <EM>Terminal.addObserver()</EM> method to beginthe delivery of events to this object. Applications may use the<EM>Terminal.removeObserver()</EM> method to discontinue the delivery ofevents to an observer object. A list of observers on the Terminal object canbe obtained via the <EM>Terminal.getObservers()</EM> method. Events will bedelivered to the TerminalObserver interface only if the Provider is in theProvider.IN_SERVICE state.<p>The TerminalObserver interface has one method:<EM>terminalChangedEvent()</EM>. This method takes a single argument, anarray of TermEv objects. Applications iterate over this array for theindividual events. All Terminal events must extend thejava.telephony.events.TermEv interface.<p>The TerminalObserver 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 TerminalObserver 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.TermEv.html#_top_">TermEv</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="#terminalChangedEvent(java.telephony.events.TermEv[])"><b>terminalChangedEvent</b></a>(TermEv[]) <dd> Reports all events on the TerminalObserver interface.</dl><a name="methods"></a><h2> <img src="images/methods.gif" width=151 height=38 alt="Methods"></h2><a name="terminalChangedEvent(java.telephony.events.TermEv[])"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a><a name="terminalChangedEvent"><b>terminalChangedEvent</b></a><pre> public abstract void terminalChangedEvent(<a href="java.telephony.events.TermEv.html#_top_">TermEv</a> eventList[])</pre><dl> <dd> Reports all events on the TerminalObserver interface. This method takesan array of TermEv object as its argument which reports all these statechanges which have occurred on the Terminal object.<p> <dl> <dt> <b>Parameters:</b> <dd> eventList - The list of Terminal 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.TerminalConnection.html#_top_">Previous</a> <a href="Package-java.telephony.html">Next</a> <a href="AllNames.html">Index</a></pre></body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -