Skip to content

Commit 96c33d8

Browse files
committed
Add code snippet for passcode and ID
1 parent a6f929d commit 96c33d8

File tree

2 files changed

+18
-3
lines changed
  • articles/communication-services/quickstarts/ui-library/includes/get-started-call

2 files changed

+18
-3
lines changed

articles/communication-services/quickstarts/ui-library/includes/get-started-call/android.md

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -361,13 +361,26 @@ A passcode consists of 6 alphabet characters (i.e. `aBcDeF`). The passcode is ca
361361
#### [Kotlin](#tab/kotlin)
362362

363363
```kotlin
364-
// HELP
364+
val locator = CallCompositeTeamsMeetingIdLocator("TEAMS_MEETING_ID", "TEAMS_MEETING_PASSCODE")
365+
366+
val remoteOptions = CallCompositeRemoteOptions(
367+
locator,
368+
communicationTokenCredential,
369+
"DISPLAY_NAME",
370+
)
371+
365372
```
366373

367374
#### [Java](#tab/java)
368375

369376
```java
370-
// HELP
377+
CallCompositeJoinLocator locator = new CallCompositeTeamsMeetingLinkLocator("TEAMS_MEETING_ID", "TEAMS_MEETING_PASSCODE");
378+
379+
CallCompositeRemoteOptions remoteOptions = new CallCompositeRemoteOptions(
380+
locator,
381+
communicationTokenCredential,
382+
"DISPLAY_NAME");
383+
371384
```
372385

373386
---

articles/communication-services/quickstarts/ui-library/includes/get-started-call/ios.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,8 +224,10 @@ A Teams meeting ID is 12 characters long and consists of numeric digits grouped
224224
A passcode consists of 6 alphabet characters (i.e. `aBcDeF`). The passcode is case sensitive.
225225

226226
```swift
227+
let remoteOptions = RemoteOptions(for: .teamsMeetingId(meetingId: "<TEAMS_MEETING_ID>", meetingPasscode: "<TEAMS_MEETING_PASSCODE>" ),
228+
credential: communicationTokenCredential,
229+
displayName: "<DISPLAY_NAME>")
227230
228-
// HELP
229231
```
230232

231233
### Set up a Rooms call

0 commit comments

Comments
 (0)