setEventHandler abstract method

void setEventHandler(
  1. RTCAudioEffectPlayerEventHandler? handler
)

Sets the event handler.

Return value:

  • 0: Success.
  • <0: Failed.

Implementation

void setEventHandler(RTCAudioEffectPlayerEventHandler? handler);