translateTexts

public final Unit translateTexts(TranslateTextsParams params, ErrorHandler handler)

Translates text.

Sends a text translation request. The translation result is delivered asynchronously via ai.nexconn.chat.handler.TranslateHandler.onTranslationCompleted.

Parameters

params

Translation text parameters

handler

Operation result callback; error is null on success