You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/communication-services/quickstarts/ui-library/includes/get-started-call/android.md
+47-3Lines changed: 47 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -337,16 +337,60 @@ CallCompositeRemoteOptions remoteOptions = new CallCompositeRemoteOptions(
337
337
communicationTokenCredential,
338
338
"DISPLAY_NAME");
339
339
```
340
-
---
341
-
342
-
---
343
340
344
341
#### Get a Microsoft Teams meeting link
345
342
346
343
You can get a Microsoft Teams meeting link by using Graph APIs. This process is detailed in [Graph documentation](/graph/api/onlinemeeting-createorget?preserve-view=true&tabs=http&view=graph-rest-beta).
347
344
348
345
The Communication Services Call SDK accepts a full Microsoft Teams meeting link. This link is returned as part of the `onlineMeeting` resource, under the [joinWebUrl property](/graph/api/resources/onlinemeeting?preserve-view=true&view=graph-rest-beta). You also can get the required meeting information from the **Join Meeting** URL in the Teams meeting invite itself.
To set up a ACS Rooms call, initialize a `CallCompositeRoomLocator`, supply it to the `CallCompositeRemoteOptions` object and set `CallCompositeParticipantRole` to the `CallCompositeLocalOptions` by `setRoleHint()`.
354
+
`CallComposite` will use role hint before connecting to the call. Once call is connected, actual up-to-date participant role is retrieved from ACS.
355
+
356
+
357
+
For more information about Rooms, how to create and manage one see [Rooms Quickstart](../../../rooms/get-started-rooms.md)
358
+
359
+
#### [Kotlin](#tab/kotlin)
360
+
361
+
```kotlin
362
+
val locator =CallCompositeRoomLocator("<ROOM_ID>")
363
+
364
+
val remoteOptions =CallCompositeRemoteOptions(
365
+
locator,
366
+
communicationTokenCredential,
367
+
"DISPLAY_NAME",
368
+
)
369
+
370
+
val localOptions =CallCompositeLocalOptions().setRoleHint(participantRole)
Copy file name to clipboardExpand all lines: articles/communication-services/quickstarts/ui-library/includes/get-started-call/ios.md
+23Lines changed: 23 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -211,6 +211,29 @@ You can get a Microsoft Teams meeting link by using Graph APIs. This process is
211
211
212
212
The Communication Services Call SDK accepts a full Microsoft Teams meeting link. This link is returned as part of the `onlineMeeting` resource, under the [joinWebUrl property](/graph/api/resources/onlinemeeting?preserve-view=true&view=graph-rest-beta). You also can get the required meeting information from the **Join Meeting** URL in the Teams meeting invite itself.
To set up a ACS Rooms call, inside the `startCallComposite` function, initialize a `RemoteOptions` instance for the `.roomCall` locator. Replace `<ROOM_ID>` with the Room ID for your call. Initialize a `LocalOptions` instance with `roleHint`.
219
+
220
+
Replace `<DISPLAY_NAME>` with your name.
221
+
222
+
`CallComposite` will use role hint before connecting to the call. Once call is connected, actual up-to-date participant role is retrieved from ACS.
223
+
224
+
225
+
For more information about Rooms, how to create and manage one see [Rooms Quickstart](../../../rooms/get-started-rooms.md)
226
+
227
+
```swift
228
+
let remoteOptions = RemoteOptions(for: .roomCall(roomId: "<ROOM_ID>"),
229
+
credential: communicationTokenCredential,
230
+
displayName: "<DISPLAY_NAME>")
231
+
let localOptions = LocalOptions(roleHint: participantRole)
0 commit comments