Skip to content

Commit cf3ab35

Browse files
rename variable
1 parent 494f3b7 commit cf3ab35

File tree

2 files changed

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

2 files changed

+3
-3
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -367,7 +367,7 @@ val remoteOptions = CallCompositeRemoteOptions(
367367
"DISPLAY_NAME",
368368
)
369369

370-
val localOptions = CallCompositeLocalOptions().setRoleHint(roomRoleHint)
370+
val localOptions = CallCompositeLocalOptions().setRoleHint(participantRole)
371371

372372
val callComposite = CallCompositeBuilder().build()
373373
callComposite.launch(context, remoteOptions, localOptions)
@@ -383,7 +383,7 @@ CallCompositeRemoteOptions remoteOptions = new CallCompositeRemoteOptions(
383383
communicationTokenCredential,
384384
"DISPLAY_NAME");
385385

386-
CallCompositeLocalOptions localOptions = new CallCompositeLocalOptions().setRoleHint(roomRoleHint);
386+
CallCompositeLocalOptions localOptions = new CallCompositeLocalOptions().setRoleHint(participantRole);
387387

388388
CallComposite callComposite = new CallCompositeBuilder().build();
389389
callComposite.launch(context, remoteOptions, localOptions);

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ For more information about Rooms, how to create and manage one see [Rooms Quicks
228228
let remoteOptions = RemoteOptions(for: .roomCall(roomId: "<ROOM_ID>"),
229229
credential: communicationTokenCredential,
230230
displayName: "<DISPLAY_NAME>")
231-
let localOptions = LocalOptions(roleHint: roomRole)
231+
let localOptions = LocalOptions(roleHint: participantRole)
232232
233233
let callComposite = CallComposite()
234234
callComposite.launch(remoteOptions: remoteOptions, localOptions: localOptions)

0 commit comments

Comments
 (0)