|
Jitsi: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface OperationSetTypingNotifications
The operation set allows user bundles (e.g. the user interface) to send and receive typing notifications to and from other Contacts.
An important thing of typing notifications is that they do not have the purpose of being relibable.
| Field Summary | |
|---|---|
static int |
STATE_PAUSED
Indicates that a source contact had been typing a message to us but has just paused. |
static int |
STATE_STALE
Indicates that the typing state of a source contact has not been updated for a while and is currently stale. |
static int |
STATE_STOPPED
Indicates that a source contact had been typing a message to us but has stopped a while ago. |
static int |
STATE_TYPING
Indicates that a source contact is currently typing a message to us. |
static int |
STATE_UNKNOWN
Indicates that the typing state of a source contact is not currently known. |
| Method Summary | |
|---|---|
void |
addTypingNotificationsListener(TypingNotificationsListener l)
Adds l to the list of listeners registered for receiving TypingNotificationEvents |
void |
removeTypingNotificationsListener(TypingNotificationsListener l)
Removes l from the list of listeners registered for receiving TypingNotificationEvents |
void |
sendTypingNotification(Contact notifiedContact,
int typingState)
Sends a notification to notifiedContatct that we have entered typingState. |
| Field Detail |
|---|
static final int STATE_UNKNOWN
static final int STATE_TYPING
static final int STATE_STALE
static final int STATE_PAUSED
static final int STATE_STOPPED
| Method Detail |
|---|
void addTypingNotificationsListener(TypingNotificationsListener l)
l - the TypingNotificationsListener listener that we'd like
to addvoid removeTypingNotificationsListener(TypingNotificationsListener l)
l - the TypingNotificationsListener listener that we'd like
to remove
void sendTypingNotification(Contact notifiedContact,
int typingState)
throws IllegalStateException,
IllegalArgumentException
notifiedContact - the Contact to notifytypingState - the typing state that we have entered.
IllegalStateException - if the underlying ICQ stack is
not registered and initialized.
IllegalArgumentException - if notifiedContact is
not an instance belonging to the underlying implementation.
|
Jitsi: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||