Skip to content

Commit e5ba143

Browse files
committed
Remove remote options
1 parent 6697615 commit e5ba143

File tree

2 files changed

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

2 files changed

+3
-22
lines changed

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

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,6 @@ import com.azure.android.communication.ui.calling.CallComposite
128128
import com.azure.android.communication.ui.calling.CallCompositeBuilder
129129
import com.azure.android.communication.ui.calling.models.CallCompositeGroupCallLocator
130130
import com.azure.android.communication.ui.calling.models.CallCompositeJoinLocator
131-
import com.azure.android.communication.ui.calling.models.CallCompositeRemoteOptions
132131
import java.util.UUID
133132

134133
class MainActivity : AppCompatActivity() {
@@ -173,7 +172,6 @@ import com.azure.android.communication.ui.calling.CallComposite;
173172
import com.azure.android.communication.ui.calling.CallCompositeBuilder;
174173
import com.azure.android.communication.ui.calling.models.CallCompositeGroupCallLocator;
175174
import com.azure.android.communication.ui.calling.models.CallCompositeJoinLocator;
176-
import com.azure.android.communication.ui.calling.models.CallCompositeRemoteOptions;
177175
import java.util.UUID;
178176

179177
public class MainActivity extends AppCompatActivity {
@@ -325,7 +323,7 @@ You can also get the required meeting information from the **Join Meeting** URL
325323

326324
#### Join via Teams meeting URL
327325

328-
To join a Microsoft Teams meeting, initialize a `CallCompositeTeamsMeetingLinkLocator` and supply it to the `CallCompositeRemoteOptions` object.
326+
To join a Microsoft Teams meeting, initialize a `CallCompositeTeamsMeetingLinkLocator`.
329327

330328
#### [Kotlin](#tab/kotlin)
331329

@@ -351,25 +349,12 @@ A passcode consists of 6 alphabet characters (i.e. `aBcDeF`). The passcode is ca
351349

352350
```kotlin
353351
val locator = CallCompositeTeamsMeetingIdLocator("TEAMS_MEETING_ID", "TEAMS_MEETING_PASSCODE")
354-
355-
val remoteOptions = CallCompositeRemoteOptions(
356-
locator,
357-
communicationTokenCredential,
358-
"DISPLAY_NAME",
359-
)
360-
361352
```
362353

363354
#### [Java](#tab/java)
364355

365356
```java
366357
CallCompositeJoinLocator locator = new CallCompositeTeamsMeetingLinkLocator("TEAMS_MEETING_ID", "TEAMS_MEETING_PASSCODE");
367-
368-
CallCompositeRemoteOptions remoteOptions = new CallCompositeRemoteOptions(
369-
locator,
370-
communicationTokenCredential,
371-
"DISPLAY_NAME");
372-
373358
```
374359

375360
---

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

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,6 @@ The following classes and interfaces handle some key features of the Azure Commu
147147
| --------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- |
148148
| [CallComposite](#create-callcomposite) | Component that renders a call experience that has a participant gallery and controls |
149149
| [CallCompositeOptions](#create-callcomposite) | Settings for options like themes and event handling |
150-
| RemoteOptions | Remote options to send to Azure Communication Services to join a [group call](#set-up-a-group-call) or a [Teams meeting](#join-a-teams-meeting). |
151150
| [ThemeOptions](#apply-theme-options) | Customization options for the composite theme |
152151
| [LocalizationOptions](#apply-localization-options) | Language options for the composite |
153152

@@ -205,7 +204,7 @@ You can also get the required meeting information from the **Join Meeting** URL
205204
206205
#### Join via Teams meeting URL
207206
208-
To join a Microsoft Teams meeting, inside the `startCallComposite` function, initialize a `RemoteOptions` instance for the `.teamsMeeting` locator. Replace `<TEAMS_MEETING_LINK>` with the Teams meeting link for your call. Replace `<DISPLAY_NAME>` with your name.
207+
To join a Microsoft Teams meeting, inside the `startCallComposite` function, initialize a instance for the `.teamsMeeting` locator. Replace `<TEAMS_MEETING_LINK>` with the Teams meeting link for your call. Replace `<DISPLAY_NAME>` with your name.
209208
210209
```swift
211210
let locator = .teamsMeeting(teamsLink: "<TEAMS_MEETING_LINK>")
@@ -218,10 +217,7 @@ A Teams meeting ID is 12 characters long and consists of numeric digits grouped
218217
A passcode consists of 6 alphabet characters (i.e. `aBcDeF`). The passcode is case sensitive.
219218

220219
```swift
221-
let remoteOptions = RemoteOptions(for: .teamsMeetingId(meetingId: "<TEAMS_MEETING_ID>", meetingPasscode: "<TEAMS_MEETING_PASSCODE>" ),
222-
credential: communicationTokenCredential,
223-
displayName: "<DISPLAY_NAME>")
224-
220+
let locator = .teamsMeetingId(meetingId: "<TEAMS_MEETING_ID>", meetingPasscode: "<TEAMS_MEETING_PASSCODE>" )
225221
```
226222

227223
### Set up a Room call

0 commit comments

Comments
 (0)