aboutsummaryrefslogtreecommitdiffstats
path: root/src/net/java/sip/communicator/service
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/java/sip/communicator/service')
-rw-r--r--src/net/java/sip/communicator/service/protocol/event/CallEvent.java25
1 files changed, 25 insertions, 0 deletions
diff --git a/src/net/java/sip/communicator/service/protocol/event/CallEvent.java b/src/net/java/sip/communicator/service/protocol/event/CallEvent.java
index d625082..6b3ec21 100644
--- a/src/net/java/sip/communicator/service/protocol/event/CallEvent.java
+++ b/src/net/java/sip/communicator/service/protocol/event/CallEvent.java
@@ -65,6 +65,12 @@ public class CallEvent
private final CallConference conference;
/**
+ * Indicate whether the call is recognized to be video call and
+ * desktop streaming call.
+ */
+ private boolean isDesktopStreaming = false;
+
+ /**
* Creates an event instance indicating that an incoming/outgoing call
* has been created
*
@@ -175,6 +181,25 @@ public class CallEvent
}
/**
+ * Returns whether the current event is for video call and desktop streaming
+ * one.
+ * @return true if this is video call and desktop streaming one.
+ */
+ public boolean isDesktopStreaming()
+ {
+ return isDesktopStreaming;
+ }
+
+ /**
+ * Change the desktop streaming indication for this event.
+ * @param value the new value.
+ */
+ public void setDesktopStreaming(boolean value)
+ {
+ this.isDesktopStreaming = value;
+ }
+
+ /**
* Returns a String representation of this CallEvent.
*
* @return A a String representation of this CallEvent.