CallAdapterSubscribers interface
呼叫可訂閱的複合事件。
方法
方法詳細資料
off("callEnded", CallEndedListener)
取消訂閱 'callEnded' 事件的函式。
function off(event: "callEnded", listener: CallEndedListener)
參數
- event
-
"callEnded"
- listener
- CallEndedListener
off("callIdChanged", CallIdChangedListener)
取消訂閱 'callIdChanged' 事件的函式。
function off(event: "callIdChanged", listener: CallIdChangedListener)
參數
- event
-
"callIdChanged"
- listener
- CallIdChangedListener
off("diagnosticChanged", DiagnosticChangedEventListner)
取消訂閱 'diagnosticChanged' 事件的函式。
function off(event: "diagnosticChanged", listener: DiagnosticChangedEventListner)
參數
- event
-
"diagnosticChanged"
- listener
- DiagnosticChangedEventListner
off("displayNameChanged", DisplayNameChangedListener)
取消訂閱 'displayNameChanged' 事件的函式。
function off(event: "displayNameChanged", listener: DisplayNameChangedListener)
參數
- event
-
"displayNameChanged"
- listener
- DisplayNameChangedListener
off("error", (e: AdapterError) => void)
取消訂閱 'error' 事件的函式。
function off(event: "error", listener: (e: AdapterError) => void)
參數
- event
-
"error"
- listener
-
(e: AdapterError) => void
off("isLocalScreenSharingActiveChanged", IsLocalScreenSharingActiveChangedListener)
'isLocalScreenSharingActiveChanged' 事件的取消訂閱函式。
function off(event: "isLocalScreenSharingActiveChanged", listener: IsLocalScreenSharingActiveChangedListener)
參數
- event
-
"isLocalScreenSharingActiveChanged"
off("isMutedChanged", IsMutedChangedListener)
取消訂閱 'isMutedChanged' 事件的函式。
function off(event: "isMutedChanged", listener: IsMutedChangedListener)
參數
- event
-
"isMutedChanged"
- listener
- IsMutedChangedListener
off("isSpeakingChanged", IsSpeakingChangedListener)
取消訂閱 'isSpeakingChanged' 事件的函式。
function off(event: "isSpeakingChanged", listener: IsSpeakingChangedListener)
參數
- event
-
"isSpeakingChanged"
- listener
- IsSpeakingChangedListener
off("participantsJoined", ParticipantsJoinedListener)
取消訂閱 'participantsJoined' 事件的函式。
function off(event: "participantsJoined", listener: ParticipantsJoinedListener)
參數
- event
-
"participantsJoined"
- listener
- ParticipantsJoinedListener
off("participantsLeft", ParticipantsLeftListener)
取消訂閱 'participantsLeft' 事件的函式。
function off(event: "participantsLeft", listener: ParticipantsLeftListener)
參數
- event
-
"participantsLeft"
- listener
- ParticipantsLeftListener
off("selectedMicrophoneChanged", PropertyChangedEvent)
取消訂閱 'selectedMicrophoneChanged' 事件的函式。
function off(event: "selectedMicrophoneChanged", listener: PropertyChangedEvent)
參數
- event
-
"selectedMicrophoneChanged"
- listener
- PropertyChangedEvent
off("selectedSpeakerChanged", PropertyChangedEvent)
取消訂閱 'selectedSpeakerChanged' 事件的函式。
function off(event: "selectedSpeakerChanged", listener: PropertyChangedEvent)
參數
- event
-
"selectedSpeakerChanged"
- listener
- PropertyChangedEvent
on("callEnded", CallEndedListener)
'callEnded' 事件的訂閱函式。
function on(event: "callEnded", listener: CallEndedListener)
參數
- event
-
"callEnded"
- listener
- CallEndedListener
on("callIdChanged", CallIdChangedListener)
'callIdChanged' 事件的 Subscribe 函式。
function on(event: "callIdChanged", listener: CallIdChangedListener)
參數
- event
-
"callIdChanged"
- listener
- CallIdChangedListener
備註
當目前使用者的 callId 變更時,將會觸發事件。
on("diagnosticChanged", DiagnosticChangedEventListner)
'diagnosticChanged' 事件的訂閱函式。
每當使用者對向診斷有關進行中通話的變更時,就會引發此事件。
function on(event: "diagnosticChanged", listener: DiagnosticChangedEventListner)
參數
- event
-
"diagnosticChanged"
- listener
- DiagnosticChangedEventListner
on("displayNameChanged", DisplayNameChangedListener)
'displayNameChanged' 事件的訂閱函式。
function on(event: "displayNameChanged", listener: DisplayNameChangedListener)
參數
- event
-
"displayNameChanged"
- listener
- DisplayNameChangedListener
on("error", (e: AdapterError) => void)
訂閱 'error' 事件的函式。
function on(event: "error", listener: (e: AdapterError) => void)
參數
- event
-
"error"
- listener
-
(e: AdapterError) => void
on("isLocalScreenSharingActiveChanged", IsLocalScreenSharingActiveChangedListener)
'isLocalScreenSharingActiveChanged' 事件的 Subscribe 函式。
function on(event: "isLocalScreenSharingActiveChanged", listener: IsLocalScreenSharingActiveChangedListener)
參數
- event
-
"isLocalScreenSharingActiveChanged"
on("isMutedChanged", IsMutedChangedListener)
'isMutedChanged' 事件的訂閱函式。
function on(event: "isMutedChanged", listener: IsMutedChangedListener)
參數
- event
-
"isMutedChanged"
- listener
- IsMutedChangedListener
備註
每當目前的使用者或遠端使用者靜音狀態變更時,就會觸發事件
on("isSpeakingChanged", IsSpeakingChangedListener)
'isSpeakingChanged' 事件的訂閱函式。
function on(event: "isSpeakingChanged", listener: IsSpeakingChangedListener)
參數
- event
-
"isSpeakingChanged"
- listener
- IsSpeakingChangedListener
on("participantsJoined", ParticipantsJoinedListener)
'participantsJoined' 事件的訂閱函式。
function on(event: "participantsJoined", listener: ParticipantsJoinedListener)
參數
- event
-
"participantsJoined"
- listener
- ParticipantsJoinedListener
on("participantsLeft", ParticipantsLeftListener)
'participantsLeft' 事件的訂閱函式。
function on(event: "participantsLeft", listener: ParticipantsLeftListener)
參數
- event
-
"participantsLeft"
- listener
- ParticipantsLeftListener
on("selectedMicrophoneChanged", PropertyChangedEvent)
訂閱 'selectedMicrophoneChanged' 事件的函式。
每當使用者選取新的麥克風裝置時,就會引發此事件。
function on(event: "selectedMicrophoneChanged", listener: PropertyChangedEvent)
參數
- event
-
"selectedMicrophoneChanged"
- listener
- PropertyChangedEvent
on("selectedSpeakerChanged", PropertyChangedEvent)
訂閱 'selectedSpeakerChanged' 事件的訂閱函式。
每當使用者選取新的喇叭裝置時,就會引發此事件。
function on(event: "selectedSpeakerChanged", listener: PropertyChangedEvent)
參數
- event
-
"selectedSpeakerChanged"
- listener
- PropertyChangedEvent