public class

SCIncomingCallEvent

extends SCBaseEvent
java.lang.Object
   ↳ com.c2call.sdk.pub.eventbus.events.SCBaseEvent
     ↳ com.c2call.sdk.pub.eventbus.events.SCIncomingCallEvent

Class Overview

This event is fired when an incoming call is waiting. You may now call SCCoreFacade#takeCall() or hangup() to take or decline this call.

Summary

[Expand]
Inherited Fields
From class com.c2call.sdk.pub.eventbus.events.SCBaseEvent
Public Constructors
SCIncomingCallEvent(SCEventSource source, String userid, boolean isVideo)
SCIncomingCallEvent(SCEventSource source, String userid, String to, boolean isVideo)
Public Methods
String getUserid()
Get the phonenumber or userId of the interlocutor
boolean isVideo()
String toString()
[Expand]
Inherited Methods
From class com.c2call.sdk.pub.eventbus.events.SCBaseEvent
From class java.lang.Object

Public Constructors

public SCIncomingCallEvent (SCEventSource source, String userid, boolean isVideo)

public SCIncomingCallEvent (SCEventSource source, String userid, String to, boolean isVideo)

Public Methods

public String getUserid ()

Get the phonenumber or userId of the interlocutor

public boolean isVideo ()

Returns
  • true, if this is a video call

public String toString ()