addObserver static method
Add event listener
Param identifier
The custom handler identifier, is used to find the corresponding handler.
Param handler
The handle for callkit event. See ChatCallKitObserver.
Implementation
static void addObserver(
ChatCallKitObserver handler,
) {
_impl.addEventListener(handler);
}