ドキュメント

Vivox Core SDK

Vivox Core SDK

vx_translated_text

One text of a vx_req_account_translate_text request, as the service answered it.
読み終わるまでの所要時間 2 分最終更新 9日前

One text of a vx_req_account_translate_text request, as the service answered it.
#include <Vxc.h>

Public Attributes

Name

int
translated
1 when text holds the translation.
char *
text
The translated text.
char *
detected_source_language
The source language the service detected, when the request named none.
int
status_code
The service's error code for this text.
char *
error
The service's error name for this text.

Public Attributes Documentation

variable translated

int translated;
1 when text holds the translation.
0 when the service refused this text; status_code and error say why, and the other texts of the request are unaffected.

variable text

char * text;
The translated text.
NULL when translated is 0.

variable detected_source_language

char * detected_source_language;
The source language the service detected, when the request named none.
NULL otherwise.

variable status_code

int status_code;
The service's error code for this text.
0 when translated is 1.

variable error

char * error;
The service's error name for this text.
NULL when translated is 1.