io.agora.rtc.audio3a

## Interface IAgoraAudioProcessorEventHandler

-     public interface IAgoraAudioProcessorEventHandler

  The IAgoraAudioProcessorEventHandler interface. Agora uses this interface to send callback event notifications to the app, and the app inherits methods in this interface to retrieve these event notifications. To ensure thread safety, the app must not call AgoraAudioProcessing APIs directly in the callback thread. Dispatch time-consuming tasks to other threads asynchronously instead.

- - ### Method Summary

    All Methods Instance Methods Default Methods
    Modifier and Type | Method and Description
    --- | ---
    `default void` | `onError(int errorCode)` The error callback of the Agora uplink audio processing library.
    `default void` | `onEvent(Constants.AgoraAudioProcessorEventType eventType)` The event callback of the Agora uplink audio processing library.

- - ### Method Detail

    - #### onEvent

          default void onEvent(Constants.AgoraAudioProcessorEventType eventType)

      The event callback of the Agora uplink audio processing library.
      Parameters:
        `eventType` - The event code of Agora uplink audio processing library. See `Constants.AgoraAudioProcessorEventType`.

    - #### onError

          default void onError(int errorCode)

      The error callback of the Agora uplink audio processing library.
      Parameters:
        `errorCode` - The error code of Agora uplink audio processing library.