TranslateVoice
AndroidiOS
If you were looking for the method for use with Unreal Engine, see TranslateVoice for Unreal Engine SDK.
If you were looking for the method for use with Unreal Engine, see TranslateVoice for Unreal Engine SDK.
Voice translation, see TranslatorLang for a list of supported languages.
Function definition
public static void TranslateVoice(INTLTranslatorVoiceReq req_info);
Input parameters
Parameter | Type | Description |
---|---|---|
req_info | INTLTranslatorVoiceReq | Request info, see TranslatorVoiceReq for details |
Observers
The callback processing interface is TranslatorResultObserver. The callback data structure is TranslatorResult.
The callback methodID is kMethodIDTranslatorTranslateVoice
.
Code sample
var translatorReq = new INTLTranslatorVoiceReq();
translatorReq.VoicePath = filePath;
translatorReq.GameCode = "";
INTLAPI.TranslateVoice(translatorReq);