Package io.rong.imkit.feature.translation

## Class TranslationProvider

- All Implemented Interfaces:

      public class TranslationProvider

  Author:

    gusd

- - ### Nested Class Summary

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

  - ### Field Summary

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

  - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `TranslationProvider()` |

  - ### Enum Constant Summary

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

  - ### Method Summary

    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | `addListener(TranslationResultListenerWrapper listener)` |
    `void` | `removeListener(TranslationResultListenerWrapper listener)` |
    `void` | `onTranslationResult(int code, RCTranslationResult result)` |
    `static TranslationProvider` | `getInstance()` |

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

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

- - ### Constructor Detail

    - #### TranslationProvider

          TranslationProvider()

  - ### Method Detail

    - #### addListener

           void addListener(TranslationResultListenerWrapper listener)

    - #### removeListener

           void removeListener(TranslationResultListenerWrapper listener)

    - #### onTranslationResult

           void onTranslationResult(int code, RCTranslationResult result)

    - #### getInstance

           static TranslationProvider getInstance()