Package io.rong.imlib

## Interface IRongCoreListener.TranslationListener

- All Implemented Interfaces:

      public interface IRongCoreListener.TranslationListener

  翻译监听器。

  Since:

    5.24.0

- - ### Nested Class Summary

    Nested Classes
    Modifier and Type | Class | Description
    --- | --- | ---

  - ### Field Summary

    Fields
    Modifier and Type | Field | Description
    --- | --- | ---

  - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---

  - ### Enum Constant Summary

    Enum Constants
    Enum Constant | Description
    --- | ---

  - ### Method Summary

    Modifier and Type | Method | Description
    --- | --- | ---
    `abstract void` | `onTranslationDidFinished(List<TranslateItem> translateItems)` | 翻译完成回调
    `abstract void` | `onTranslationLanguageDidChange(String language)` | 用户级别翻译语言更新。
    `abstract void` | `onAutoTranslateStateDidChange(boolean isEnable)` | 用户级别的自动翻译状态更新。

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

  - ### Method Detail

    - #### onTranslationDidFinished

           abstract void onTranslationDidFinished(List<TranslateItem> translateItems)

      翻译完成回调

      Parameters:
        `translateItems` - 翻译结果项列表
      Since:

        5.24.0

    - #### onTranslationLanguageDidChange

           abstract void onTranslationLanguageDidChange(String language)

      用户级别翻译语言更新。

      Parameters:
        `language` - 用户级别翻译语言。
      Since:

        5.24.0

    - #### onAutoTranslateStateDidChange

           abstract void onAutoTranslateStateDidChange(boolean isEnable)

      用户级别的自动翻译状态更新。

      Parameters:
        `isEnable` - 是否开启自动翻译。
      Since:

        5.24.0