Package io.agora.rtc2

Interface IMediaExtensionObserver


public interface IMediaExtensionObserver
  • Method Details

    • onEventWithContext

      default void onEventWithContext(ExtensionContext extContext, String key, String value)
      Parameters:
      extContext - The context information of the extension, see `ExtensionContext`.
      key - The key of the extension.
      value - The value of the extension key.
    • onStartedWithContext

      default void onStartedWithContext(ExtensionContext extContext)
      Parameters:
      extContext - The context information of the extension, see `ExtensionContext`.
    • onStoppedWithContext

      default void onStoppedWithContext(ExtensionContext extContext)
      Parameters:
      extContext - The context information of the extension, see `ExtensionContext`.
    • onErrorWithContext

      default void onErrorWithContext(ExtensionContext extContext, int error, String message)
      Parameters:
      extContext - The context information of the extension, see `ExtensionContext`.
      error - Error code. For details, see the extension documentation provided by the extension provider.
      message - Reason. For details, see the extension documentation provided by the extension provider.