CometChatCalls
class wherever you want to use CometChatCalls
.
init()
method initialises the settings required for CometChatCalls
. The init()
method takes a single paramater, that is the instance of CallAppSettings
class.
The CallAppSettingsBuilder
class allows you to configure three settings:
CometChatCalls
. We suggest you call the init() method on app startup, preferably in the index.js file.
APP_ID
with your CometChat App ID and REGION
with your App Region in the above code.
Parameter | Description |
---|---|
callAppSettings | An object of the CallAppSettings class |