共用方式為


CallState interface

只限狀態版本的 <xref:%40azure%2Fcommunication-calling%23Call>。 StatefulCallClient 會自動擷取呼叫的狀態,並將它新增至 statefulCallClient 所公開的狀態。

屬性

callEndReason

<xref:%40azure%2Fcommunication-calling%23Call.callEndReason>的 Proxy。

callerInfo

<xref:%40azure%2Fcommunication-calling%23Call.callerInfo>的 Proxy。

diagnostics

儲存最新的呼叫診斷。

direction

<xref:%40azure%2Fcommunication-calling%23Call.direction>的 Proxy。

dominantSpeakers

<xref:%40azure%2Fcommunication-calling%23DominantSpeakersInfo>的 Proxy。

endTime

儲存用戶端上呼叫結束時的本機日期。 這個屬性是由具狀態層所新增,不是 SDK 狀態的 Proxy。

id

<xref:%40azure%2Fcommunication-calling%23Call.id>的 Proxy。

isMuted

<xref:%40azure%2Fcommunication-calling%23Call.isMuted>的 Proxy。

isScreenSharingOn

<xref:%40azure%2Fcommunication-calling%23Call.isScreenSharingOn>的 Proxy。

localVideoStreams

<xref:%40azure%2Fcommunication-calling%23Call.localVideoStreams>的 Proxy。

recording

<xref:%40azure%2Fcommunication-calling%23RecordingCallFeature>的 Proxy。

remoteParticipants

<xref:%40azure%2Fcommunication-calling%23Call.remoteParticipants>的 Proxy。 具有以扁平化 標識子為索引鍵之 VideoGalleryRemoteParticipant 欄位的物件。 若要取得扁平化 識別子,請使用 <xref:%40azure%2Fcommunication-react%23toFlatCommunicationIdentifier>。

remoteParticipantsEnded

儲存已離開呼叫的遠端參與者,以便擷取 callEndReason。 具有以扁平化 標識子為索引鍵之 VideoGalleryRemoteParticipant 欄位的物件。 若要取得扁平化 識別子,請使用 <xref:%40azure%2Fcommunication-react%23toFlatCommunicationIdentifier>。

screenShareRemoteParticipant

儲存目前使用中畫面共享參與者的金鑰。 如果沒有使用中的螢幕共用,則這會未定義。 您可以使用此金鑰來存取 remoteParticipant 物件中的 remoteParticipant 資料。

請注意,這隻適用於 RemoteParticipant 中的 ScreenShare。 使用中的本機 ScreenShare 不會影響此屬性。

這個屬性是由具狀態層新增,不是 SDK 狀態的 Proxy

startTime

儲存用戶端上呼叫啟動時的本機日期。 這個屬性是由具狀態層所新增,不是 SDK 狀態的 Proxy。

state

<xref:%40azure%2Fcommunication-calling%23Call.state>的 Proxy。

transcription

<xref:%40azure%2Fcommunication-calling%23TranscriptionCallFeature>的 Proxy。

屬性詳細資料

callEndReason

<xref:%40azure%2Fcommunication-calling%23Call.callEndReason>的 Proxy。

callEndReason?: CallEndReason

屬性值

callerInfo

<xref:%40azure%2Fcommunication-calling%23Call.callerInfo>的 Proxy。

callerInfo: CallerInfo

屬性值

diagnostics

儲存最新的呼叫診斷。

diagnostics: DiagnosticsCallFeatureState

屬性值

direction

<xref:%40azure%2Fcommunication-calling%23Call.direction>的 Proxy。

direction: CallDirection

屬性值

dominantSpeakers

<xref:%40azure%2Fcommunication-calling%23DominantSpeakersInfo>的 Proxy。

dominantSpeakers?: DominantSpeakersInfo

屬性值

endTime

儲存用戶端上呼叫結束時的本機日期。 這個屬性是由具狀態層所新增,不是 SDK 狀態的 Proxy。

endTime: undefined | Date

屬性值

undefined | Date

id

<xref:%40azure%2Fcommunication-calling%23Call.id>的 Proxy。

id: string

屬性值

string

isMuted

<xref:%40azure%2Fcommunication-calling%23Call.isMuted>的 Proxy。

isMuted: boolean

屬性值

boolean

isScreenSharingOn

<xref:%40azure%2Fcommunication-calling%23Call.isScreenSharingOn>的 Proxy。

isScreenSharingOn: boolean

屬性值

boolean

localVideoStreams

<xref:%40azure%2Fcommunication-calling%23Call.localVideoStreams>的 Proxy。

localVideoStreams: LocalVideoStreamState[]

屬性值

recording

<xref:%40azure%2Fcommunication-calling%23RecordingCallFeature>的 Proxy。

recording: RecordingCallFeature

屬性值

remoteParticipants

<xref:%40azure%2Fcommunication-calling%23Call.remoteParticipants>的 Proxy。 具有以扁平化 標識子為索引鍵之 VideoGalleryRemoteParticipant 欄位的物件。 若要取得扁平化 識別子,請使用 <xref:%40azure%2Fcommunication-react%23toFlatCommunicationIdentifier>。

remoteParticipants: {[keys: string]: RemoteParticipantState}

屬性值

{[keys: string]: RemoteParticipantState}

remoteParticipantsEnded

儲存已離開呼叫的遠端參與者,以便擷取 callEndReason。 具有以扁平化 標識子為索引鍵之 VideoGalleryRemoteParticipant 欄位的物件。 若要取得扁平化 識別子,請使用 <xref:%40azure%2Fcommunication-react%23toFlatCommunicationIdentifier>。

remoteParticipantsEnded: {[keys: string]: RemoteParticipantState}

屬性值

{[keys: string]: RemoteParticipantState}

screenShareRemoteParticipant

儲存目前使用中畫面共享參與者的金鑰。 如果沒有使用中的螢幕共用,則這會未定義。 您可以使用此金鑰來存取 remoteParticipant 物件中的 remoteParticipant 資料。

請注意,這隻適用於 RemoteParticipant 中的 ScreenShare。 使用中的本機 ScreenShare 不會影響此屬性。

這個屬性是由具狀態層新增,不是 SDK 狀態的 Proxy

screenShareRemoteParticipant?: string

屬性值

string

startTime

儲存用戶端上呼叫啟動時的本機日期。 這個屬性是由具狀態層所新增,不是 SDK 狀態的 Proxy。

startTime: Date

屬性值

Date

state

<xref:%40azure%2Fcommunication-calling%23Call.state>的 Proxy。

state: CallState

屬性值

transcription

<xref:%40azure%2Fcommunication-calling%23TranscriptionCallFeature>的 Proxy。

transcription: TranscriptionCallFeature

屬性值