addObserver static method

void addObserver(
  1. ChatCallKitObserver handler
)

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);
}