TranslationRecognitionEventArgs class
Argumen peristiwa hasil teks terjemahan.
- Extends
Konstruktor
Translation |
Membuat dan menginisialisasi instans kelas ini. |
Properti
offset | Mewakili offset pesan |
result | Menentukan hasil pengenalan. |
session |
Mewakili pengidentifikasi sesi. |
Detail Konstruktor
TranslationRecognitionEventArgs(TranslationRecognitionResult, number, string)
Membuat dan menginisialisasi instans kelas ini.
new TranslationRecognitionEventArgs(result: TranslationRecognitionResult, offset?: number, sessionId?: string)
Parameter
- result
- TranslationRecognitionResult
Hasil pengenalan terjemahan.
- offset
-
number
Offset.
- sessionId
-
string
Id sesi.
Detail Properti
offset
Mewakili offset pesan
number offset
Nilai Properti
number
result
Menentukan hasil pengenalan.
TranslationRecognitionResult result
Nilai Properti
hasil pengenalan.
sessionId
Mewakili pengidentifikasi sesi.
string sessionId
Nilai Properti
string
Mewakili pengidentifikasi sesi.