JSR-043: JTAPI-1.4

javax.telephony.phone.capabilities
Interface ComponentCapabilities


public interface ComponentCapabilities

Component capabilities


Method Summary
 boolean canControl()
          Returns true if the component can be controlled.
 boolean canObserve()
          Returns true if the component can be observed.
 boolean canSetButtonPressThreshold()
          Returns true if a button-press threshold time can be set.
 

Method Detail

canObserve

public boolean canObserve()
Returns true if the component can be observed. For example, this method on a PhoneMicrophone component would return true, if events for changes in gain setting can be received through the TerminalObserver interface and also if the "get" methods on each of the component interfaces is expected to be successful.

Returns:
True if the component can be observed, false otherwise.

canControl

public boolean canControl()
Returns true if the component can be controlled. For example, this method on a PhoneMicrophone component would return true, if the gain setting can be adjusted programmatically.

Returns:
True if the component can be controlled, false otherwise.

canSetButtonPressThreshold

public boolean canSetButtonPressThreshold()
Returns true if a button-press threshold time can be set.
Returns:
True if a button press threshold may be set, false otherwise.
Since:
1.4

JSR-043: JTAPI-1.4

Send comments to: JSR-43@ectf.org