📄 java.telephony.media.events.mediaev.html
字号:
<!--NewPage--><html><head><!-- Generated by javadoc on Fri Feb 07 16:42:30 PST 1997 --><a name="_top_"></a><title> Interface java.telephony.media.events.MediaEv</title></head><body><pre><a href="packages.html">All Packages</a> <a href="tree.html">Class Hierarchy</a> <a href="Package-java.telephony.media.events.html">This Package</a> <a href="Package-java.telephony.media.events.html">Previous</a> <a href="java.telephony.media.events.MediaTermConnAvailableEv.html#_top_">Next</a> <a href="AllNames.html">Index</a></pre><hr><h1> Interface java.telephony.media.events.MediaEv</h1><dl> <dt> public interface <b>MediaEv</b> <dt> extends <a href="java.lang.Object.html#_top_">Object</a> <dt> extends <a href="java.telephony.events.Ev.html#_top_">Ev</a></dl>The MediaEv is the base event for all events in the Mediapackage. Each event in this package must extend this interface. Thisinterface is not meant to be a public interface, it is just a buildingblock for other event interfaces.<p>The MediaEv interface contains getMediaCause(), which returnsthe reason for the event.<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="#CAUSE_NORMAL"><b>CAUSE_NORMAL</b></a> <dd> Cause code indicating normal operation <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o "> <a href="#CAUSE_UNKNOWN"><b>CAUSE_UNKNOWN</b></a> <dd> Cause code indicating the cause was unknown</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="#getMediaCause()"><b>getMediaCause</b></a>() <dd> Returns the media and core causes associated with this event.</dl><a name="variables"></a><h2> <img src="images/variables.gif" width=153 height=38 alt="Variables"></h2><a name="CAUSE_NORMAL"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a><b>CAUSE_NORMAL</b><pre> public final static int CAUSE_NORMAL</pre><dl> <dd> Cause code indicating normal operation</dl><a name="CAUSE_UNKNOWN"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a><b>CAUSE_UNKNOWN</b><pre> public final static int CAUSE_UNKNOWN</pre><dl> <dd> Cause code indicating the cause was unknown</dl><a name="methods"></a><h2> <img src="images/methods.gif" width=151 height=38 alt="Methods"></h2><a name="getMediaCause()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a><a name="getMediaCause"><b>getMediaCause</b></a><pre> public abstract int getMediaCause()</pre><dl> <dd> Returns the media and core causes associated with this event. Every event has a cause. The various cause values are defined as publicstatic final variablies in this interface, with the exception ofCAUSE_NORMAL and CAUSE_UNKNOWN, which are defined in the core.<p> <dl> <dt> <b>Returns:</b> <dd> s The cause of the event. </dl></dl><hr><pre><a href="packages.html">All Packages</a> <a href="tree.html">Class Hierarchy</a> <a href="Package-java.telephony.media.events.html">This Package</a> <a href="Package-java.telephony.media.events.html">Previous</a> <a href="java.telephony.media.events.MediaTermConnAvailableEv.html#_top_">Next</a> <a href="AllNames.html">Index</a></pre></body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -