📄 java.telephony.media.capabilities.mediaterminalconnectioncapabilities.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.capabilities.MediaTerminalConnectionCapabilities</title></head><body><pre><a href="packages.html">All Packages</a> <a href="tree.html">Class Hierarchy</a> <a href="Package-java.telephony.media.capabilities.html">This Package</a> <a href="Package-java.telephony.media.capabilities.html">Previous</a> <a href="Package-java.telephony.media.capabilities.html">Next</a> <a href="AllNames.html">Index</a></pre><hr><h1> Interface java.telephony.media.capabilities.MediaTerminalConnectionCapabilities</h1><dl> <dt> public interface <b>MediaTerminalConnectionCapabilities</b> <dt> extends <a href="java.lang.Object.html#_top_">Object</a> <dt> extends <a href="java.telephony.capabilities.ConnectionCapabilities.html#_top_">ConnectionCapabilities</a></dl>The MediaTerminalConnectionCapabilities interface extends theConnectionCapabilities interface. This interface provides capabilitiesmethods for the MediaTerminalConnection object. The methods in thisinterface provides applications the ability to query for those actionswhere are possible on the MediaTerminalConnection interface as part ofthe capabilities package.<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="#canDetectDtmf()"><b>canDetectDtmf</b></a>() <dd> This method returns true if the application is able to detect DTMF-toneson the telephone line. <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o "> <a href="#canGenerateDtmf()"><b>canGenerateDtmf</b></a>() <dd> This method returns true if the application is able to generate DTMF-tones the telephone line. <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o "> <a href="#canStartPlaying()"><b>canStartPlaying</b></a>() <dd> This method returns true if the application is able to start playing tothe telephone line. <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o "> <a href="#canStartRecording()"><b>canStartRecording</b></a>() <dd> This method returns true if the application is able to start recordingfrom the telephone line. <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o "> <a href="#canStopPlaying()"><b>canStopPlaying</b></a>() <dd> This method returns true if the application is able to stop playing tothe telephone line. <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o "> <a href="#canStopRecording()"><b>canStopRecording</b></a>() <dd> This method returns true if the application is able to stop recording fromthe telephone line. <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o "> <a href="#canUseDefaultMicrophone()"><b>canUseDefaultMicrophone</b></a>() <dd> This method returns true if the application can invoke theuseDefaultMicrophone() method and route the media from the defaultmicrophone. <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o "> <a href="#canUseDefaultSpeaker()"><b>canUseDefaultSpeaker</b></a>() <dd> This method returns true if the application can invoke theuseDefaultSpeaker() method and route the media from the telephone lineto the default speaker. <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o "> <a href="#canUsePlayURL()"><b>canUsePlayURL</b></a>() <dd> This method returns true if the application can invoke theusePlayURL() method and route voice media from URL's. <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o "> <a href="#canUseRecordURL()"><b>canUseRecordURL</b></a>() <dd> This method returns true if the application can invoke theuseRecordURL() method and route voice media to URL's.</dl><a name="methods"></a><h2> <img src="images/methods.gif" width=151 height=38 alt="Methods"></h2><a name="canUseDefaultSpeaker()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a><a name="canUseDefaultSpeaker"><b>canUseDefaultSpeaker</b></a><pre> public abstract boolean canUseDefaultSpeaker()</pre><dl> <dd> This method returns true if the application can invoke theuseDefaultSpeaker() method and route the media from the telephone lineto the default speaker. Returns false otherwise.<p> <dl> <dt> <b>Returns:</b> <dd> True if the application can route voice media to the defaultspeaker, false otherwise. </dl></dl><a name="canUseDefaultMicrophone()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a><a name="canUseDefaultMicrophone"><b>canUseDefaultMicrophone</b></a><pre> public abstract boolean canUseDefaultMicrophone()</pre><dl> <dd> This method returns true if the application can invoke theuseDefaultMicrophone() method and route the media from the defaultmicrophone. Returns false otherwise.<p> <dl> <dt> <b>Returns:</b> <dd> True if the application can route voice media from the defaultmicrophone, false otherwise. </dl></dl><a name="canUseRecordURL()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a><a name="canUseRecordURL"><b>canUseRecordURL</b></a><pre> public abstract boolean canUseRecordURL()</pre><dl> <dd> This method returns true if the application can invoke theuseRecordURL() method and route voice media to URL's. Returns falseotherwise.<p> <dl> <dt> <b>Returns:</b> <dd> True if the application can route voice media to URL's, falseotherwise. </dl></dl><a name="canUsePlayURL()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a><a name="canUsePlayURL"><b>canUsePlayURL</b></a><pre> public abstract boolean canUsePlayURL()</pre><dl> <dd> This method returns true if the application can invoke theusePlayURL() method and route voice media from URL's. Returns falseotherwise.<p> <dl> <dt> <b>Returns:</b> <dd> True if the application can route voice media from URL's, falseotherwise. </dl></dl><a name="canStartPlaying()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a><a name="canStartPlaying"><b>canStartPlaying</b></a><pre> public abstract boolean canStartPlaying()</pre><dl> <dd> This method returns true if the application is able to start playing tothe telephone line. Returns false otherwise.<p> <dl> <dt> <b>Returns:</b> <dd> True if the application can begin playing to the telephone line,false otherwise. </dl></dl><a name="canStopPlaying()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a><a name="canStopPlaying"><b>canStopPlaying</b></a><pre> public abstract boolean canStopPlaying()</pre><dl> <dd> This method returns true if the application is able to stop playing tothe telephone line. Returns false otherwise.<p> <dl> <dt> <b>Returns:</b> <dd> True if the application can stop playing to the telephone line,false otherwise. </dl></dl><a name="canStartRecording()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a><a name="canStartRecording"><b>canStartRecording</b></a><pre> public abstract boolean canStartRecording()</pre><dl> <dd> This method returns true if the application is able to start recordingfrom the telephone line. Returns false otherwise.<p> <dl> <dt> <b>Returns:</b> <dd> True if the application can start recording from the telephoneline, false otherwise. </dl></dl><a name="canStopRecording()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a><a name="canStopRecording"><b>canStopRecording</b></a><pre> public abstract boolean canStopRecording()</pre><dl> <dd> This method returns true if the application is able to stop recording fromthe telephone line. Returns false otherwise.<p> <dl> <dt> <b>Returns:</b> <dd> True if the application can stop recording from the telephoneline, false otherwise. </dl></dl><a name="canDetectDtmf()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a><a name="canDetectDtmf"><b>canDetectDtmf</b></a><pre> public abstract boolean canDetectDtmf()</pre><dl> <dd> This method returns true if the application is able to detect DTMF-toneson the telephone line. Returns false otherwise. This method indicateswhether the application is able to invoke the setDtmfDetection(true)method.<p> <dl> <dt> <b>Returns:</b> <dd> True if the application can detect DTMF-tones from the telephoneline, false otherwise. </dl></dl><a name="canGenerateDtmf()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a><a name="canGenerateDtmf"><b>canGenerateDtmf</b></a><pre> public abstract boolean canGenerateDtmf()</pre><dl> <dd> This method returns true if the application is able to generate DTMF-tones the telephone line. Returns false otherwise.<p> <dl> <dt> <b>Returns:</b> <dd> True if the application can generate DTMF-tones to the telephoneline, false otherwise. </dl></dl><hr><pre><a href="packages.html">All Packages</a> <a href="tree.html">Class Hierarchy</a> <a href="Package-java.telephony.media.capabilities.html">This Package</a> <a href="Package-java.telephony.media.capabilities.html">Previous</a> <a href="Package-java.telephony.media.capabilities.html">Next</a> <a href="AllNames.html">Index</a></pre></body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -