javax.telephony.media.capabilities
Interface MediaTerminalConnectionCapabilities

All Superinterfaces:
TerminalConnectionCapabilities

public interface MediaTerminalConnectionCapabilities
extends TerminalConnectionCapabilities

The MediaTerminalConnectionCapabilities interface extends the TerminalConnectionCapabilities interface. This interface provides capabilities methods for the MediaTerminalConnection object. The methods in this interface provides applications the ability to query for those actions where are possible on the MediaTerminalConnection interface as part of the capabilities package.


Method Summary
 boolean canDetectDtmf()
          This method returns true if the application is able to detect DTMF-tones on the telephone line.
 boolean canGenerateDtmf()
          This method returns true if the application is able to generate DTMF- tones the telephone line.
 boolean canStartPlaying()
          This method returns true if the application is able to start playing to the telephone line.
 boolean canStartRecording()
          This method returns true if the application is able to start recording from the telephone line.
 boolean canStopPlaying()
          This method returns true if the application is able to stop playing to the telephone line.
 boolean canStopRecording()
          This method returns true if the application is able to stop recording from the telephone line.
 boolean canUseDefaultMicrophone()
          This method returns true if the application can invoke the useDefaultMicrophone() method and route the media from the default microphone.
 boolean canUseDefaultSpeaker()
          This method returns true if the application can invoke the useDefaultSpeaker() method and route the media from the telephone line to the default speaker.
 boolean canUsePlayURL()
          This method returns true if the application can invoke the usePlayURL() method and route voice media from URL's.
 boolean canUseRecordURL()
          This method returns true if the application can invoke the useRecordURL() method and route voice media to URL's.
 
Methods inherited from interface javax.telephony.capabilities.TerminalConnectionCapabilities
canAnswer
 

Method Detail

canUseDefaultSpeaker

public boolean canUseDefaultSpeaker()
This method returns true if the application can invoke the useDefaultSpeaker() method and route the media from the telephone line to the default speaker. Returns false otherwise.

Returns:
True if the application can route voice media to the default speaker, false otherwise.

canUseDefaultMicrophone

public boolean canUseDefaultMicrophone()
This method returns true if the application can invoke the useDefaultMicrophone() method and route the media from the default microphone. Returns false otherwise.

Returns:
True if the application can route voice media from the default microphone, false otherwise.

canUseRecordURL

public boolean canUseRecordURL()
This method returns true if the application can invoke the useRecordURL() method and route voice media to URL's. Returns false otherwise.

Returns:
True if the application can route voice media to URL's, false otherwise.

canUsePlayURL

public boolean canUsePlayURL()
This method returns true if the application can invoke the usePlayURL() method and route voice media from URL's. Returns false otherwise.

Returns:
True if the application can route voice media from URL's, false otherwise.

canStartPlaying

public boolean canStartPlaying()
This method returns true if the application is able to start playing to the telephone line. Returns false otherwise.

Returns:
True if the application can begin playing to the telephone line, false otherwise.

canStopPlaying

public boolean canStopPlaying()
This method returns true if the application is able to stop playing to the telephone line. Returns false otherwise.

Returns:
True if the application can stop playing to the telephone line, false otherwise.

canStartRecording

public boolean canStartRecording()
This method returns true if the application is able to start recording from the telephone line. Returns false otherwise.

Returns:
True if the application can start recording from the telephone line, false otherwise.

canStopRecording

public boolean canStopRecording()
This method returns true if the application is able to stop recording from the telephone line. Returns false otherwise.

Returns:
True if the application can stop recording from the telephone line, false otherwise.

canDetectDtmf

public boolean canDetectDtmf()
This method returns true if the application is able to detect DTMF-tones on the telephone line. Returns false otherwise. This method indicates whether the application is able to invoke the setDtmfDetection(true) method.

Returns:
True if the application can detect DTMF-tones from the telephone line, false otherwise.

canGenerateDtmf

public boolean canGenerateDtmf()
This method returns true if the application is able to generate DTMF- tones the telephone line. Returns false otherwise.

Returns:
True if the application can generate DTMF-tones to the telephone line, false otherwise.


Copyright © 2005 Avaya All Rights Reserved.