People-powered Communication
The Huddle01 Kotlin SDK enables seamless integration into Android mobile applications with minimal configuration. It provides a comprehensive set of methods and event listeners, streamlining real-time audio and video communication while requiring minimal coding.
Before using the Huddle01 Kotlin SDK, make sure your setup has these things:
- Java Development Kit (JDK)
- Android Studio version 3.0 or higher
- Android SDK with API Level 21 or above
- An Android phone or tablet running version 5.0 or later
You can install Android Studio from here
To get started with the Huddle01 Kotlin SDK:
• 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'
}
- In
/app/Manifests/AndroidManifest.xml
, add the following permissions after</application>
.
<uses-permission android:name="android.permission.RECORD_AUDIO" />
<uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.CAMERA" />
First you need to configure HuddleClient
import com.huddle01.kotlin_client.HuddleClient
lateinit var huddleClient: HuddleClient
huddleClient = HuddleClient("YOUR_PROJECT_ID", this)
import com.huddle01.kotlin_client.HuddleClient
huddleClient.joinRoom(roomId, token)
💡 For more information head to https://docs.huddle01.com/docs/Kotlin
💡 For any help reach out to us on Discord