build.gradle
file in the repositories
block under the allprojects
section:
build.gradle
file in the dependencies
section.
init()
method initialises the settings required for CometChatCalls. The init()
method takes the below parameters:
setAppId()
and setRegion()
method.CallAppSettings
class allows you to configure three settings:
init()
method on activity onCreate()
method.
Parameter | Description |
---|---|
context | Android context for your application |
callAppSettings | An object of the CallAppSettings class |