kelas SynthesisVoicesResult

Berisi informasi tentang hasil dari daftar suara penyintesis ucapan. Ditambahkan dalam versi 1.16.0.

Anggota

Suara

Sitnaksis: public const std::vector< std::shared_ptr< VoiceInfo > > & Voices;

Suara yang diambil.

ErrorDetails

Sitnaksis: public const std::string & ErrorDetails;

Detail kesalahan.

ResultId

Sitnaksis: public const std::string & ResultId;

Id hasil unik.

Alasan

Sitnaksis: public const ResultReason & Reason;

Alasan hasil daftar suara.

Properti

Sitnaksis: public constPropertyCollection & Properties;

Kumpulan properti SynthesisVoicesResult tambahan.

SynthesisVoicesResult

Sitnaksis: public inline explicit SynthesisVoicesResult ( SPXRESULTHANDLE hresult );

Membuat instans baru menggunakan handel yang disediakan.

Parameter

  • hresult Handel hasil.

operator SPXRESULTHANDLE

Sitnaksis: public inline explicit operator SPXRESULTHANDLE ( );

Operator konversi eksplisit.

Mengembalikan

Pegangan.

~SynthesisVoicesResult

Sitnaksis: public inline ~SynthesisVoicesResult ( );

Destruktor.