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