public class WhiteboardSessionPresenceChangeEvent
extends java.util.EventObject
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
LOCAL_USER_DROPPED
Indicates that this event was triggered as a result of the local
participant beeing disconnected from the server brutally, or ping timeout.
|
static java.lang.String |
LOCAL_USER_JOIN_FAILED
Indicates that this event was triggered as a result of the local
participant failed to join a whiteboard.
|
static java.lang.String |
LOCAL_USER_JOINED
Indicates that this event was triggered as a result of the local
participant joining a whiteboard.
|
static java.lang.String |
LOCAL_USER_KICKED
Indicates that this event was triggered as a result of the local
participant being kicked from a whiteboard.
|
static java.lang.String |
LOCAL_USER_LEFT
Indicates that this event was triggered as a result of the local
participant leaving a whiteboard.
|
Constructor and Description |
---|
WhiteboardSessionPresenceChangeEvent(OperationSetWhiteboarding source,
WhiteboardSession session,
java.lang.String eventType,
java.lang.String reason)
Creates a WhiteboardSessionPresenceChangeEvent representing that
a change in local participant presence in the source white-board has
occured.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getEventType()
Returns the type of this event which could be one of the LOCAL_USER_XXX
member fields.
|
java.lang.String |
getReason()
A reason string indicating a human readable reason for this event.
|
OperationSetWhiteboarding |
getWhiteboardOpSet()
Returns the OperationSetWhiteboarding, where this event has
occurred.
|
WhiteboardSession |
getWhiteboardSession()
Returns the WhiteboardSession, that this event is about.
|
java.lang.String |
toString()
Returns a String representation of this event.
|
public static final java.lang.String LOCAL_USER_JOINED
public static final java.lang.String LOCAL_USER_JOIN_FAILED
public static final java.lang.String LOCAL_USER_LEFT
public static final java.lang.String LOCAL_USER_KICKED
public static final java.lang.String LOCAL_USER_DROPPED
public WhiteboardSessionPresenceChangeEvent(OperationSetWhiteboarding source, WhiteboardSession session, java.lang.String eventType, java.lang.String reason)
source
- the OperationSetWhiteboarding, which produced this
eventsession
- the WhiteboardSession that this event is abouteventType
- the type of this event.reason
- the reason explaining why this event might have occurredpublic OperationSetWhiteboarding getWhiteboardOpSet()
public WhiteboardSession getWhiteboardSession()
public java.lang.String getReason()
public java.lang.String getEventType()
public java.lang.String toString()
toString
in class java.util.EventObject
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.