Skip to content

Commit 7cf36ab

Browse files
authored
Update voice-video-calling-cte-java.md
1 parent e5bbc93 commit 7cf36ab

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

articles/communication-services/quickstarts/voice-video-calling/includes/custom-teams-endpoint/voice-video-calling-cte-java.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -313,6 +313,16 @@ private void startCall() {
313313
}
314314
```
315315

316+
## Answer a Call
317+
318+
Accepting a call can be done using the teams call agent using only a reference to the current context
319+
320+
```java
321+
public void acceptACall(TeamsIncomingCall teamsIncomingCall){
322+
teamsIncomingCall.accept(this);
323+
}
324+
```
325+
316326
## Join a Teams Call
317327

318328
A user can join an existing call by passing a link

0 commit comments

Comments
 (0)