setEventHandler method

void setEventHandler(
  1. AnnotationMgrEventHandler handler
)

Sets the annotation manager event handler.

After setting the annotation manager event handler, you can listen for annotation manager events and receive the statistics of the corresponding RtcAnnotationManager instance.

Parameter handler The event handler.

Implementation

void setEventHandler(AnnotationMgrEventHandler handler) {
  _handler = handler;
}