/ SDKs / Android
SDKs
Chat SDKs Android v4
Chat SDKs Android
Chat SDKs
Android
Version 4

Retrieve a list of operators

Copy link

You can follow the simple implementation below to retrieve a list of operators who monitor and control the activities in a channel.

KotlinKTX
OpenChannel.getChannel(CHANNEL_URL) { channel, e ->
    if (e != null) {
        // Handle error.
    }

    // Retrieve a list of operators.
    channel.operators.forEach { operator ->
        // ...
    }
}