Skip to main content

Register a global listener to receive incoming-call events and obtain the call session. Request microphone and camera permissions in advance.

JIM.getInstance().getCallManager().addReceiveListener("CallReceive", this);

The callback method is defined as follows.

interface ICallReceiveListener {
void onCallReceive(ICallSession callSession);
}