Share via


IParticipant interface

代表交談中的參與者。 已在 1.4.0 版中新增

Extends

TranscriptionParticipant

屬性

avatar

取得使用者的虛擬人偶作為 HTML 十六進位字串 (例如 FF0000 代表紅色) 。

displayName

參與者的顯示名稱。 請注意,可能有一個以上具有相同名稱的參與者。 您可以使用 屬性來區分它們。

isHost

取得此參與者是否為主機。

isMuted

取得此參與者是否為靜音。

isUsingTts

取得參與者是否使用文字轉換語音 (TTS) 。

properties

包含參與者的屬性。

繼承的屬性

id

參與者的唯一識別碼。

preferredLanguage

參與者慣用的口語語言。

voice

參與者的語音簽章

屬性詳細資料

avatar

取得使用者的虛擬人偶作為 HTML 十六進位字串 (例如 FF0000 代表紅色) 。

avatar: string

屬性值

string

displayName

參與者的顯示名稱。 請注意,可能有一個以上具有相同名稱的參與者。 您可以使用 屬性來區分它們。

displayName: string

屬性值

string

isHost

取得此參與者是否為主機。

isHost: boolean

屬性值

boolean

isMuted

取得此參與者是否為靜音。

isMuted: boolean

屬性值

boolean

isUsingTts

取得參與者是否使用文字轉換語音 (TTS) 。

isUsingTts: boolean

屬性值

boolean

properties

包含參與者的屬性。

properties: PropertyCollection

屬性值

繼承的屬性詳細資料

id

參與者的唯一識別碼。

id: string

屬性值

string

繼承自 TranscriptionParticipant.id

preferredLanguage

參與者慣用的口語語言。

preferredLanguage: string

屬性值

string

繼承自 TranscriptionParticipant.preferredLanguage

voice

參與者的語音簽章

voice: string

屬性值

string

繼承自 TranscriptionParticipant.voice