Methods
Available Methods
You can install the Huddle01 Kotlin SDK packages in the following way:
• Add the following in your settings.gradle.kts
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
mavenCentral()
maven { url 'https://jitpack.io' }
}
}
• Add the following dependency in your app's app/build.gradle
.
dependencies {
implementation 'com.github.Huddle01:Kotlin-Client:1.0.1'
}
Using client to access Methods
Once done, you can initialize your project with the HuddleClient
class by passing in your projectId
and access various methods such as joinRoom
and other methods.
💡
You can generate Access Token using our Server SDK. To generate roomId
you can use our Create Room API.
import com.huddle01.kotlin_client.HuddleClient
var huddleClient: HuddleClient = HuddleClient("YOUR_PROJECT_ID", this)