CallState interface
仅状态版本的 <xref:%40azure%2Fcommunication-calling%23Call>。 StatefulCallClient 将自动检索呼叫的状态,并将其添加到由 StatefulCallClient公开的状态。
属性
| breakout |
<xref:%40azure%2Fcommunication-calling%23BreakoutRoomsFeature>代理。 |
| call |
<xref:%40azure%2Fcommunication-calling%23Call.callEndReason>代理。 |
| caller |
<xref:%40azure%2Fcommunication-calling%23Call.callerInfo>代理。 |
| capabilities |
<xref:%40azure%2Fcommunication-calling%23CapabilitiesFeature>代理。 |
| captions |
<xref:%40azure%2Fcommunication-calling%23CaptionsCallFeature>代理。 |
| content |
存储当前活动的 pptlive 参与者的密钥。 将被白板等重复使用。如果没有活动的屏幕共享,则这将是未定义的。 可以使用此密钥访问 remoteParticipants 对象 remoteParticipant 数据。 请注意,这仅适用于 RemoteParticipant 中的 PPTLive。 此属性由有状态层添加,不是 SDK 状态的代理 |
| diagnostics | 存储最新的调用诊断。 |
| direction | <xref:%40azure%2Fcommunication-calling%23Call.direction>代理。 |
| dominant |
<xref:%40azure%2Fcommunication-calling%23DominantSpeakersInfo>代理。 |
| end |
存储调用在客户端上结束时的本地日期。 此属性由有状态层添加,不是 SDK 状态的代理。 |
| hide |
在 Teams 会议中隐藏与会者姓名 |
| id | <xref:%40azure%2Fcommunication-calling%23Call.id>代理。 |
| info | <xref:%40azure%2Fcommunication-calling%23Call.info>代理。 |
| is |
<xref:%40azure%2Fcommunication-calling%23Call.isMuted>代理。 |
| is |
<xref:%40azure%2Fcommunication-calling%23Call.isScreenSharingOn>代理。 |
| kind | 调用的类型。 |
| local |
带有 UI 辅助属性 receivedOn 的 <xref:%40azure%2Fcommunication-calling%23Call.ReactionMessage> 代理,它指示收到消息时的时间戳。 |
| local |
<xref:%40azure%2Fcommunication-calling%23Call.localVideoStreams>代理。 |
| meeting |
<xref:%40azure%2Fcommunication-calling%23TeamsMeetingAudioConferencingCallFeature>代理。 |
| meeting |
<xref:%40azure%2Fcommunication-calling%23MediaAccessFeature>代理。 |
| optimal |
<xref:%40azure%2Fcommunication-calling%23OptimalVideoCountCallFeature>代理。 |
| ppt |
<xref:%40azure%2Fcommunication-calling%23PPTLiveCallFeature>代理。 |
| raise |
<xref:%40azure%2Fcommunication-calling%23RaiseHandCallFeature>代理。 |
| real |
<xref:%40azure%2Fcommunication-calling%23RealTimeTextCallFeature>代理。 |
| recording | <xref:%40azure%2Fcommunication-calling%23RecordingCallFeature>代理。 |
| remote |
<xref:%40azure%2Fcommunication-calling%23Call.remoteParticipants>代理。 对象,其中 VideoGalleryRemoteParticipant 字段由平展的 标识符键。 若要获取平展的 标识符,请使用 <xref:%40azure%2Fcommunication-react%23toFlatCommunicationIdentifier>。 |
| remote |
存储已离开呼叫的远程参与者,以便可以检索 callEndReason。 对象,其中 VideoGalleryRemoteParticipant 字段由平展的 标识符键。 若要获取平展的 标识符,请使用 <xref:%40azure%2Fcommunication-react%23toFlatCommunicationIdentifier>。 |
| role | <xref:%40azure%2Fcommunication-calling%23Call.role>代理。 |
| screen |
存储当前处于活动状态的屏幕共享参与者的密钥。 如果没有屏幕共享处于活动状态,则此作将未定义。 可以使用此密钥访问 remoteParticipants 对象 remoteParticipant 数据。 请注意,这仅适用于 RemoteParticipant 中的 ScreenShare。 正在活动的本地 ScreenShare 不会影响此属性。 此属性由有状态层添加,不是 SDK 状态的代理 |
| spotlight | <xref:%40azure%2Fcommunication-calling%23SpotlightCallFeature>代理。 |
| start |
存储调用在客户端上启动时的本地日期。 此属性由有状态层添加,不是 SDK 状态的代理。 |
| state | <xref:%40azure%2Fcommunication-calling%23Call.state>代理。 |
| together |
<xref:%40azure%2Fcommunication-calling%23TogetherModeCallFeature>代理。 |
| transcription | <xref:%40azure%2Fcommunication-calling%23TranscriptionCallFeature>代理。 |
| transfer | 呼叫的转接状态 |
属性详细信息
breakoutRooms
<xref:%40azure%2Fcommunication-calling%23BreakoutRoomsFeature>代理。
breakoutRooms?: BreakoutRoomsState
属性值
callEndReason
<xref:%40azure%2Fcommunication-calling%23Call.callEndReason>代理。
callEndReason?: CallEndReason
属性值
callerInfo
capabilitiesFeature
<xref:%40azure%2Fcommunication-calling%23CapabilitiesFeature>代理。
capabilitiesFeature?: CapabilitiesFeatureState
属性值
captionsFeature
<xref:%40azure%2Fcommunication-calling%23CaptionsCallFeature>代理。
captionsFeature: CaptionsCallFeatureState
属性值
contentSharingRemoteParticipant
存储当前活动的 pptlive 参与者的密钥。 将被白板等重复使用。如果没有活动的屏幕共享,则这将是未定义的。 可以使用此密钥访问 remoteParticipants 对象 remoteParticipant 数据。
请注意,这仅适用于 RemoteParticipant 中的 PPTLive。
此属性由有状态层添加,不是 SDK 状态的代理
public contentSharingRemoteParticipant?: string
属性值
string
diagnostics
direction
<xref:%40azure%2Fcommunication-calling%23Call.direction>代理。
direction: CallDirection
属性值
dominantSpeakers
<xref:%40azure%2Fcommunication-calling%23DominantSpeakersInfo>代理。
dominantSpeakers?: DominantSpeakersInfo
属性值
endTime
存储调用在客户端上结束时的本地日期。 此属性由有状态层添加,不是 SDK 状态的代理。
endTime: undefined | Date
属性值
undefined | Date
hideAttendeeNames
在 Teams 会议中隐藏与会者姓名
hideAttendeeNames?: boolean
属性值
boolean
id
<xref:%40azure%2Fcommunication-calling%23Call.id>代理。
id: string
属性值
string
info
isMuted
<xref:%40azure%2Fcommunication-calling%23Call.isMuted>代理。
isMuted: boolean
属性值
boolean
isScreenSharingOn
<xref:%40azure%2Fcommunication-calling%23Call.isScreenSharingOn>代理。
isScreenSharingOn: boolean
属性值
boolean
kind
localParticipantReaction
带有 UI 辅助属性 receivedOn 的 <xref:%40azure%2Fcommunication-calling%23Call.ReactionMessage> 代理,它指示收到消息时的时间戳。
public localParticipantReaction?: ReactionState
属性值
localVideoStreams
<xref:%40azure%2Fcommunication-calling%23Call.localVideoStreams>代理。
localVideoStreams: LocalVideoStreamState[]
属性值
meetingConference
<xref:%40azure%2Fcommunication-calling%23TeamsMeetingAudioConferencingCallFeature>代理。
meetingConference?: { conferencePhones: ConferencePhoneInfo[] }
属性值
{ conferencePhones: ConferencePhoneInfo[] }
meetingMediaAccess
<xref:%40azure%2Fcommunication-calling%23MediaAccessFeature>代理。
meetingMediaAccess?: MediaAccessState
属性值
optimalVideoCount
<xref:%40azure%2Fcommunication-calling%23OptimalVideoCountCallFeature>代理。
optimalVideoCount: OptimalVideoCountFeatureState
属性值
pptLive
<xref:%40azure%2Fcommunication-calling%23PPTLiveCallFeature>代理。
public pptLive: PPTLiveCallFeatureState
属性值
raiseHand
<xref:%40azure%2Fcommunication-calling%23RaiseHandCallFeature>代理。
raiseHand: RaiseHandCallFeature
属性值
realTimeTextFeature
<xref:%40azure%2Fcommunication-calling%23RealTimeTextCallFeature>代理。
realTimeTextFeature: RealTimeTextCallFeatureState
属性值
recording
<xref:%40azure%2Fcommunication-calling%23RecordingCallFeature>代理。
recording: RecordingCallFeature
属性值
remoteParticipants
<xref:%40azure%2Fcommunication-calling%23Call.remoteParticipants>代理。 对象,其中 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}
role
screenShareRemoteParticipant
存储当前处于活动状态的屏幕共享参与者的密钥。 如果没有屏幕共享处于活动状态,则此作将未定义。 可以使用此密钥访问 remoteParticipants 对象 remoteParticipant 数据。
请注意,这仅适用于 RemoteParticipant 中的 ScreenShare。 正在活动的本地 ScreenShare 不会影响此属性。
此属性由有状态层添加,不是 SDK 状态的代理
screenShareRemoteParticipant?: string
属性值
string
spotlight
<xref:%40azure%2Fcommunication-calling%23SpotlightCallFeature>代理。
spotlight?: SpotlightCallFeatureState
属性值
startTime
存储调用在客户端上启动时的本地日期。 此属性由有状态层添加,不是 SDK 状态的代理。
startTime: Date
属性值
Date
state
togetherMode
<xref:%40azure%2Fcommunication-calling%23TogetherModeCallFeature>代理。
togetherMode: TogetherModeCallFeatureState
属性值
transcription
<xref:%40azure%2Fcommunication-calling%23TranscriptionCallFeature>代理。
transcription: TranscriptionCallFeature