javax.telephony.callcontrol
Interface CallControlTerminalEvent
- All Superinterfaces:
- CallControlEvent, Event, TerminalEvent
- public interface CallControlTerminalEvent
- extends CallControlEvent, TerminalEvent
The CallControlTerminalEvent
interface is the base interface for
all callcontrol
package Terminal-related events.
All Terminal-related events must extend this interface.
Events which extend this interface are reported via the
CallControlTerminalListener
interface. This interface
extends both the CallControlEvent
and core
TerminalEvent
interfaces.
- Since:
- 1.4
- See Also:
Terminal
,
TerminalEvent
,
TerminalListener
,
CallControlTerminalListener
,
CallControlEvent
Field Summary |
static int |
CALLCTL_TERMINAL_EVENT_DO_NOT_DISTURB
The CALLCTL_TERMINAL_EVENT_DO_NOT_DISTURB event indicates
that the state of the do not disturb feature has changed for the
CallControlTerminal . |
Fields inherited from interface javax.telephony.callcontrol.CallControlEvent |
CAUSE_ALTERNATE, CAUSE_BUSY, CAUSE_CALL_BACK, CAUSE_CALL_NOT_ANSWERED, CAUSE_CALL_PICKUP, CAUSE_CONFERENCE, CAUSE_DO_NOT_DISTURB, CAUSE_PARK, CAUSE_REDIRECTED, CAUSE_REORDER_TONE, CAUSE_TRANSFER, CAUSE_TRUNKS_BUSY, CAUSE_UNHOLD |
Fields inherited from interface javax.telephony.Event |
CAUSE_CALL_CANCELLED, CAUSE_DEST_NOT_OBTAINABLE, CAUSE_INCOMPATIBLE_DESTINATION, CAUSE_LOCKOUT, CAUSE_NETWORK_CONGESTION, CAUSE_NETWORK_NOT_OBTAINABLE, CAUSE_NEW_CALL, CAUSE_NORMAL, CAUSE_RESOURCES_NOT_AVAILABLE, CAUSE_SNAPSHOT, CAUSE_UNKNOWN |
Method Summary |
boolean |
getDoNotDisturbState()
Returns true if the do not disturb feature is activated, false otherwise. |
CALLCTL_TERMINAL_EVENT_DO_NOT_DISTURB
public static final int CALLCTL_TERMINAL_EVENT_DO_NOT_DISTURB
- The
CALLCTL_TERMINAL_EVENT_DO_NOT_DISTURB
event indicates
that the state of the do not disturb feature has changed for the
CallControlTerminal
.
This constant indicates a specific event passed via
CallControlTerminalEvent
event, and is reported
on the CallControlTerminalListener
interface by calling the
CallControlTerminalListener.terminalDoNotDisturb(
CallControlTerminalEvent )
method. The new state of the do not disturb
feature can be gotten by the getDoNotDisturb()
method on the
CallControlTerminal
getDoNotDisturbState
public boolean getDoNotDisturbState()
- Returns true if the do not disturb feature is activated, false otherwise.
- Returns:
- True if the do not disturb feature is activated, false otherwise.
Send comments to: JSR-43@ectf.org