Skip to content

Commit 3586069

Browse files
docs(realtimekit): use 'meeting' as variable name for initialising android sdk
1 parent 5be1ca9 commit 3586069

File tree

1 file changed

+2
-2
lines changed
  • src/content/docs/realtime/realtimekit/core

1 file changed

+2
-2
lines changed

src/content/docs/realtime/realtimekit/core/index.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ Use the [Create Participant API](/api/resources/realtime_kit/#create-a-participa
9494
Initialize the RealtimeKit SDK by obtaining an instance of `RealtimeKitClient` using the `RealtimeKitMeetingBuilder` helper.
9595

9696
```kotlin
97-
val rtkClient = RealtimeKitMeetingBuilder.build(activity)
97+
val meeting = RealtimeKitMeetingBuilder.build(activity)
9898
```
9999

100100
Configure the meeting properties in the `RtkMeetingInfo` class with a valid participant `authToken` from the [Create Participant API](/api/resources/realtime_kit/#create-a-participant).
@@ -111,7 +111,7 @@ Use the [Create Participant API](/api/resources/realtime_kit/#create-a-participa
111111
Initialize the meeting by calling the `init()` method. This establishes a connection with the RealtimeKit meeting server.
112112

113113
```kotlin
114-
rtkClient.init(
114+
meeting.init(
115115
meetingInfo,
116116
onInitCompleted = { ... },
117117
onInitFailed = { ... },

0 commit comments

Comments
 (0)