JSR-043: JTAPI-1.4

javax.telephony.privatedata.capabilities
Interface PrivateDataCapabilities


public interface PrivateDataCapabilities

The PrivateDataCapabilities interface is the capabilities interface for the PrivateData interface. Additional packages which want to extend the private data package should extend this interface for its capabilities.

Since the PrivateData interface is always implemented on some existing JTAPI object (e.g. Provider, Call, etc), this interface should be implemented along with the corresponding object's capabilities interface. For example, if the implementation's Call object supports private data, the Provider.getCallCapabilities() and Call.getCapabilities() methods should return objects which implement PrivateDataCapabilities in addition to the CallCapabilities interface.

See Also:
PrivateData

Method Summary
 boolean canGetPrivateData()
          This method returns true if the PrivateData.getPrivateData() method is supported, false otherwise.
 boolean canSendPrivateData()
          This method returns true if the PrivateData.sendPrivateData() method is supported, false otherwise.
 boolean canSetPrivateData()
          This method returns true if the PrivateData.setPrivateData() method is supported, false otherwise.
 

Method Detail

canSetPrivateData

public boolean canSetPrivateData()
This method returns true if the PrivateData.setPrivateData() method is supported, false otherwise.

Returns:
True if the setting of private data is supported, false otherwise.
Since:
JTAPI v1.2

canGetPrivateData

public boolean canGetPrivateData()
This method returns true if the PrivateData.getPrivateData() method is supported, false otherwise.

Returns:
True if obtaining the private data is supported, false otherwise.
Since:
JTAPI v1.2

canSendPrivateData

public boolean canSendPrivateData()
This method returns true if the PrivateData.sendPrivateData() method is supported, false otherwise.

Returns:
True if the sending of private data is supported, false otherwise.
Since:
JTAPI v1.2

JSR-043: JTAPI-1.4

Send comments to: JSR-43@ectf.org