Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

doc - There is a wrong select option in realtime doc for kotlin example, #389

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions src/routes/docs/apis/realtime/+page.markdoc
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ let subscription = realtime.subscribe(channels: ["files"]) { response in
}
```

```java
```kotlin
import io.appwrite.Client
import io.appwrite.services.Realtime

Expand Down Expand Up @@ -159,7 +159,7 @@ let subscription = realtime.subscribe(channel: "account", callback: { response i
})
```

```java
```kotlin
import io.appwrite.Client
import io.appwrite.services.Realtime

Expand Down Expand Up @@ -230,7 +230,7 @@ realtime.subscribe(channels: ["databases.A.collections.A.documents.A", "files"])
}
```

```java
```kotlin
import io.appwrite.Client
import io.appwrite.services.Realtime

Expand Down Expand Up @@ -303,7 +303,7 @@ let subscription = realtime.subscribe(channel: "files") { response in
subscription.close()
```

```java
```kotlin
import io.appwrite.Client
import io.appwrite.services.Realtime

Expand Down Expand Up @@ -490,7 +490,7 @@ let client = Client()
client.setEndpointRealtime("wss://cloud.appwrite.io/v1/realtime")
```

```java
```kotlin
import io.appwrite.Client

val client = Client(context)
Expand Down