public class OperationSetTypingNotificationsGibberishImpl extends AbstractOperationSetTypingNotifications<ProtocolProviderServiceGibberishImpl>
parentProvider
STATE_PAUSED, STATE_STALE, STATE_STOPPED, STATE_TYPING, STATE_UNKNOWN
Constructor and Description |
---|
OperationSetTypingNotificationsGibberishImpl(ProtocolProviderServiceGibberishImpl provider,
OperationSetPersistentPresenceGibberishImpl opSetPersPresence)
Creates a new instance of this operation set and keeps the parent
provider as a reference.
|
Modifier and Type | Method and Description |
---|---|
void |
sendTypingNotification(Contact notifiedContact,
int typingState)
Sends a notification to notifiedContatct that we have entered
typingState.
|
addTypingNotificationsListener, assertConnected, fireTypingNotificationsDeliveryFailedEvent, fireTypingNotificationsEvent, removeTypingNotificationsListener
OperationSetTypingNotificationsGibberishImpl(ProtocolProviderServiceGibberishImpl provider, OperationSetPersistentPresenceGibberishImpl opSetPersPresence)
provider
- a ref to the ProtocolProviderServiceImpl
that created us and that we'll use for retrieving the underlying aim
connection.opSetPersPresence
- the currently valid
OperationSetPersistentPresenceGibberishImpl instance.public void sendTypingNotification(Contact notifiedContact, int typingState) throws java.lang.IllegalStateException, java.lang.IllegalArgumentException
notifiedContact
- the Contact to notifytypingState
- the typing state that we have entered.java.lang.IllegalStateException
- if the underlying stack is
not registered and initialized.java.lang.IllegalArgumentException
- if notifiedContact is
not an instance belonging to the underlying implementation.
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.