Class IncomingCall
- Object
-
- CommonIncomingCall
-
- IncomingCall
-
public final class IncomingCall extends CommonIncomingCall
Describes an incoming call
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CompletableFuture<Call>
accept(Context context)
Accept an incoming call with default options (audio on; video off)CompletableFuture<Call>
accept(Context context, AcceptCallOptions acceptCallOptions)
Accept an incoming call with the ability to specify the accept call options-
Methods inherited from class CommonIncomingCall
addOnCallEndedListener, finalize, getCallEndReason, getCallerInfo, getId, getType, isVideoEnabled, reject, removeOnCallEndedListener
-
-
-
-
Method Detail
-
accept
public CompletableFuture<Call> accept(Context context, AcceptCallOptions acceptCallOptions)
Accept an incoming call with the ability to specify the accept call options- Parameters:
context
- Android application context objectacceptCallOptions
- Options for call Accepting the call- Returns:
- CompletableFuture
<Call>
representing a completableFuture of the resulting call object
-
accept
public CompletableFuture<Call> accept(Context context)
Accept an incoming call with default options (audio on; video off)- Parameters:
context
- Android application context object- Returns:
- CompletableFuture
<Call>
representing a completableFuture of the resulting call object
-
-