Meeting class

屬性

authorizationToken

取得/設定用於與服務通訊的授權令牌。 注意:呼叫端必須確定授權令牌有效。 授權令牌到期之前,呼叫端必須以新的有效令牌呼叫此 setter 來重新整理它。 否則,辨識器會在辨識期間發生錯誤。

config
meetingId

取得當前會議的唯一識別碼。

meetingInfo
participants
properties

取得該實例的屬性集合及其值。

speechRecognitionLanguage

獲得用於識別的語言名稱。

方法

addParticipantAsync(IParticipant, Callback, Callback)

將參與者新增至會議。

createMeetingAsync(SpeechTranslationConfig, string, Callback, Callback)

建立會議

removeParticipantAsync(string | IParticipant | IUser, Callback, Callback)

使用使用者標識碼、參與者或User物件,從會議中移除參與者

屬性詳細資料

authorizationToken

取得/設定用於與服務通訊的授權令牌。 注意:呼叫端必須確定授權令牌有效。 授權令牌到期之前,呼叫端必須以新的有效令牌呼叫此 setter 來重新整理它。 否則,辨識器會在辨識期間發生錯誤。

string authorizationToken

屬性值

string

config

SpeechTranslationConfig config

屬性值

meetingId

取得當前會議的唯一識別碼。

string meetingId

屬性值

string

meetingInfo

MeetingInfo meetingInfo

屬性值

participants

Participant[] participants

屬性值

properties

取得該實例的屬性集合及其值。

PropertyCollection properties

屬性值

speechRecognitionLanguage

獲得用於識別的語言名稱。

string speechRecognitionLanguage

屬性值

string

方法詳細資料

addParticipantAsync(IParticipant, Callback, Callback)

將參與者新增至會議。

function addParticipantAsync(participant: IParticipant, cb?: Callback, err?: Callback)

參數

participant
IParticipant
cb

Callback

err

Callback

createMeetingAsync(SpeechTranslationConfig, string, Callback, Callback)

建立會議

static function createMeetingAsync(speechConfig: SpeechTranslationConfig, meetingId: string, arg3?: Callback, arg4?: Callback): Meeting

參數

meetingId

string

arg3

Callback

arg4

Callback

傳回

removeParticipantAsync(string | IParticipant | IUser, Callback, Callback)

使用使用者標識碼、參與者或User物件,從會議中移除參與者

function removeParticipantAsync(userId: string | IParticipant | IUser, cb?: Callback, err?: Callback)

參數

userId

string | IParticipant | IUser

用戶標識碼

cb

Callback

err

Callback