Class CommonIncomingCall
- Object
-
- CommonIncomingCall
-
- Direct Known Subclasses:
IncomingCall,TeamsIncomingCall
public abstract class CommonIncomingCall extends ObjectDescribes a common incoming call
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddOnCallEndedListener(PropertyChangedListener listener)Adds the specified listener to receive OnCallEnded events.protected voidfinalize()Called by the garbage collector on an object when garbage collection determines that there are no more references to the object.CallEndReasongetCallEndReason()Describe the reason why a call has endedCallerInfogetCallerInfo()Information about the callerStringgetId()Id of the callCommunicationCallTypegetType()Informs how video frames will be available for encoding or decoding.booleanisVideoEnabled()Is incoming video enabledCompletableFuture<Void>reject()Reject this incoming callvoidremoveOnCallEndedListener(PropertyChangedListener listener)Removes the specified listener to receive OnCallEnded events.
-
-
-
Method Detail
-
finalize
protected void finalize()
Called by the garbage collector on an object when garbage collection determines that there are no more references to the object.- Overrides:
finalizein classObject
-
getType
public CommunicationCallType getType()
Informs how video frames will be available for encoding or decoding.
-
getCallEndReason
public CallEndReason getCallEndReason()
Describe the reason why a call has ended
-
getCallerInfo
public CallerInfo getCallerInfo()
Information about the caller
-
getId
public String getId()
Id of the call
-
isVideoEnabled
public boolean isVideoEnabled()
Is incoming video enabled
-
addOnCallEndedListener
public void addOnCallEndedListener(PropertyChangedListener listener)
Adds the specified listener to receive OnCallEnded events. OnCallEnded Event. Occurs when recording incoming call was not answered and call ended.
-
removeOnCallEndedListener
public void removeOnCallEndedListener(PropertyChangedListener listener)
Removes the specified listener to receive OnCallEnded events. OnCallEnded Event. Occurs when recording incoming call was not answered and call ended.
-
reject
public CompletableFuture<Void> reject()
Reject this incoming call
-
-