Initialize ProConf SDK
Setup ProCONFClient
Check the code below to setup proConfClient
-
Example
- Java
- Kotlin
proConfClient.init(
applicationContext,
serverUrl,
bearerToken,
new IStatusListener() {
@Override
public void onSuccess() {
// Handle success case
}
@Override
public void onFailure(Object response) {
if (response instanceof BaseResponse) {
// Handle failure case when response is an instance of BaseResponse
}
}
});
proConfClient.init(
applicationContext,
serverUrl,
bearerToken,
object : IStatusListener {
override fun onSuccess() {
// Handle success case
}
override fun onFailure(response: Any?) {
if (response is BaseResponse) {
// Handle failure case when response is an instance of BaseResponse
}
}
}) -
Parameters
applicationContext- ApplicationContext of an Android applicationserver_url- Server url of backend where ProCONF server is installedbearerToken- Bearer token required to authenticate proconf server APIIStatusListener- (Optional) Interface which helps handle success and failure cases
Now you are ready to use createMeeting or joinMeeting.