CallState interface
State only version of <xref:%40azure%2Fcommunication-calling%23Call>. StatefulCallClient will automatically retrieve Call's state and add it to the state exposed by StatefulCallClient.
Properties
| breakout |
Proxy of <xref:%40azure%2Fcommunication-calling%23BreakoutRoomsFeature>. |
| call |
Proxy of <xref:%40azure%2Fcommunication-calling%23Call.callEndReason>. |
| caller |
Proxy of <xref:%40azure%2Fcommunication-calling%23Call.callerInfo>. |
| capabilities |
Proxy of <xref:%40azure%2Fcommunication-calling%23CapabilitiesFeature>. |
| captions |
Proxy of <xref:%40azure%2Fcommunication-calling%23CaptionsCallFeature>. |
| content |
Stores the currently active pptlive participant's key. Will be reused by White board etc. If there is no screenshare active, then this will be undefined. You can use this key to access the remoteParticipant data in remoteParticipants object. Note this only applies to PPTLive in RemoteParticipant. This property is added by the stateful layer and is not a proxy of SDK state |
| diagnostics | Stores the latest call diagnostics. |
| direction | Proxy of <xref:%40azure%2Fcommunication-calling%23Call.direction>. |
| dominant |
Proxy of <xref:%40azure%2Fcommunication-calling%23DominantSpeakersInfo>. |
| end |
Stores the local date when the call ended on the client. This property is added by the stateful layer and is not a proxy of SDK state. |
| hide |
Hide attendee names in teams meeting |
| id | Proxy of <xref:%40azure%2Fcommunication-calling%23Call.id>. |
| info | Proxy of <xref:%40azure%2Fcommunication-calling%23Call.info>. |
| is |
Proxy of <xref:%40azure%2Fcommunication-calling%23Call.isMuted>. |
| is |
Proxy of <xref:%40azure%2Fcommunication-calling%23Call.isScreenSharingOn>. |
| kind | Type of the call. |
| local |
Proxy of <xref:%40azure%2Fcommunication-calling%23Call.ReactionMessage> with UI helper props receivedOn which indicates the timestamp when the message was received. |
| local |
Proxy of <xref:%40azure%2Fcommunication-calling%23Call.localVideoStreams>. |
| meeting |
Proxy of <xref:%40azure%2Fcommunication-calling%23TeamsMeetingAudioConferencingCallFeature>. |
| meeting |
Proxy of <xref:%40azure%2Fcommunication-calling%23MediaAccessFeature>. |
| optimal |
Proxy of <xref:%40azure%2Fcommunication-calling%23OptimalVideoCountCallFeature>. |
| ppt |
Proxy of <xref:%40azure%2Fcommunication-calling%23PPTLiveCallFeature>. |
| raise |
Proxy of <xref:%40azure%2Fcommunication-calling%23RaiseHandCallFeature>. |
| real |
Proxy of <xref:%40azure%2Fcommunication-calling%23RealTimeTextCallFeature>. |
| recording | Proxy of <xref:%40azure%2Fcommunication-calling%23RecordingCallFeature>. |
| remote |
Proxy of <xref:%40azure%2Fcommunication-calling%23Call.remoteParticipants>. Object with VideoGalleryRemoteParticipant fields keyed by flattened identifier. To obtain a flattened identifier, use <xref:%40azure%2Fcommunication-react%23toFlatCommunicationIdentifier>. |
| remote |
Stores remote participants that have left the call so that the callEndReason could be retrieved. Object with VideoGalleryRemoteParticipant fields keyed by flattened identifier. To obtain a flattened identifier, use <xref:%40azure%2Fcommunication-react%23toFlatCommunicationIdentifier>. |
| role | Proxy of <xref:%40azure%2Fcommunication-calling%23Call.role>. |
| screen |
Stores the currently active screenshare participant's key. If there is no screenshare active, then this will be undefined. You can use this key to access the remoteParticipant data in remoteParticipants object. Note this only applies to ScreenShare in RemoteParticipant. A local ScreenShare being active will not affect this property. This property is added by the stateful layer and is not a proxy of SDK state |
| spotlight | Proxy of <xref:%40azure%2Fcommunication-calling%23SpotlightCallFeature>. |
| start |
Stores the local date when the call started on the client. This property is added by the stateful layer and is not a proxy of SDK state. |
| state | Proxy of <xref:%40azure%2Fcommunication-calling%23Call.state>. |
| together |
Proxy of <xref:%40azure%2Fcommunication-calling%23TogetherModeCallFeature>. |
| transcription | Proxy of <xref:%40azure%2Fcommunication-calling%23TranscriptionCallFeature>. |
| transfer | Transfer state of call |
Property Details
breakoutRooms
Proxy of <xref:%40azure%2Fcommunication-calling%23BreakoutRoomsFeature>.
breakoutRooms?: BreakoutRoomsState
Property Value
callEndReason
Proxy of <xref:%40azure%2Fcommunication-calling%23Call.callEndReason>.
callEndReason?: CallEndReason
Property Value
callerInfo
Proxy of <xref:%40azure%2Fcommunication-calling%23Call.callerInfo>.
callerInfo: CallerInfo
Property Value
capabilitiesFeature
Proxy of <xref:%40azure%2Fcommunication-calling%23CapabilitiesFeature>.
capabilitiesFeature?: CapabilitiesFeatureState
Property Value
captionsFeature
Proxy of <xref:%40azure%2Fcommunication-calling%23CaptionsCallFeature>.
captionsFeature: CaptionsCallFeatureState
Property Value
contentSharingRemoteParticipant
Stores the currently active pptlive participant's key. Will be reused by White board etc. If there is no screenshare active, then this will be undefined. You can use this key to access the remoteParticipant data in remoteParticipants object.
Note this only applies to PPTLive in RemoteParticipant.
This property is added by the stateful layer and is not a proxy of SDK state
public contentSharingRemoteParticipant?: string
Property Value
string
diagnostics
Stores the latest call diagnostics.
diagnostics: DiagnosticsCallFeatureState
Property Value
direction
Proxy of <xref:%40azure%2Fcommunication-calling%23Call.direction>.
direction: CallDirection
Property Value
dominantSpeakers
Proxy of <xref:%40azure%2Fcommunication-calling%23DominantSpeakersInfo>.
dominantSpeakers?: DominantSpeakersInfo
Property Value
endTime
Stores the local date when the call ended on the client. This property is added by the stateful layer and is not a proxy of SDK state.
endTime: undefined | Date
Property Value
undefined | Date
hideAttendeeNames
Hide attendee names in teams meeting
hideAttendeeNames?: boolean
Property Value
boolean
id
Proxy of <xref:%40azure%2Fcommunication-calling%23Call.id>.
id: string
Property Value
string
info
Proxy of <xref:%40azure%2Fcommunication-calling%23Call.info>.
info?: TeamsCallInfo
Property Value
isMuted
Proxy of <xref:%40azure%2Fcommunication-calling%23Call.isMuted>.
isMuted: boolean
Property Value
boolean
isScreenSharingOn
Proxy of <xref:%40azure%2Fcommunication-calling%23Call.isScreenSharingOn>.
isScreenSharingOn: boolean
Property Value
boolean
kind
localParticipantReaction
Proxy of <xref:%40azure%2Fcommunication-calling%23Call.ReactionMessage> with UI helper props receivedOn which indicates the timestamp when the message was received.
public localParticipantReaction?: ReactionState
Property Value
localVideoStreams
Proxy of <xref:%40azure%2Fcommunication-calling%23Call.localVideoStreams>.
localVideoStreams: LocalVideoStreamState[]
Property Value
meetingConference
Proxy of <xref:%40azure%2Fcommunication-calling%23TeamsMeetingAudioConferencingCallFeature>.
meetingConference?: { conferencePhones: ConferencePhoneInfo[] }
Property Value
{ conferencePhones: ConferencePhoneInfo[] }
meetingMediaAccess
Proxy of <xref:%40azure%2Fcommunication-calling%23MediaAccessFeature>.
meetingMediaAccess?: MediaAccessState
Property Value
optimalVideoCount
Proxy of <xref:%40azure%2Fcommunication-calling%23OptimalVideoCountCallFeature>.
optimalVideoCount: OptimalVideoCountFeatureState
Property Value
pptLive
Proxy of <xref:%40azure%2Fcommunication-calling%23PPTLiveCallFeature>.
public pptLive: PPTLiveCallFeatureState
Property Value
raiseHand
Proxy of <xref:%40azure%2Fcommunication-calling%23RaiseHandCallFeature>.
raiseHand: RaiseHandCallFeature
Property Value
realTimeTextFeature
Proxy of <xref:%40azure%2Fcommunication-calling%23RealTimeTextCallFeature>.
realTimeTextFeature: RealTimeTextCallFeatureState
Property Value
recording
Proxy of <xref:%40azure%2Fcommunication-calling%23RecordingCallFeature>.
recording: RecordingCallFeature
Property Value
remoteParticipants
Proxy of <xref:%40azure%2Fcommunication-calling%23Call.remoteParticipants>. Object with VideoGalleryRemoteParticipant fields keyed by flattened identifier. To obtain a flattened identifier, use <xref:%40azure%2Fcommunication-react%23toFlatCommunicationIdentifier>.
remoteParticipants: {[keys: string]: RemoteParticipantState}
Property Value
{[keys: string]: RemoteParticipantState}
remoteParticipantsEnded
Stores remote participants that have left the call so that the callEndReason could be retrieved. Object with VideoGalleryRemoteParticipant fields keyed by flattened identifier. To obtain a flattened identifier, use <xref:%40azure%2Fcommunication-react%23toFlatCommunicationIdentifier>.
remoteParticipantsEnded: {[keys: string]: RemoteParticipantState}
Property Value
{[keys: string]: RemoteParticipantState}
role
Proxy of <xref:%40azure%2Fcommunication-calling%23Call.role>.
role?: ParticipantRole
Property Value
screenShareRemoteParticipant
Stores the currently active screenshare participant's key. If there is no screenshare active, then this will be undefined. You can use this key to access the remoteParticipant data in remoteParticipants object.
Note this only applies to ScreenShare in RemoteParticipant. A local ScreenShare being active will not affect this property.
This property is added by the stateful layer and is not a proxy of SDK state
screenShareRemoteParticipant?: string
Property Value
string
spotlight
Proxy of <xref:%40azure%2Fcommunication-calling%23SpotlightCallFeature>.
spotlight?: SpotlightCallFeatureState
Property Value
startTime
Stores the local date when the call started on the client. This property is added by the stateful layer and is not a proxy of SDK state.
startTime: Date
Property Value
Date
state
Proxy of <xref:%40azure%2Fcommunication-calling%23Call.state>.
state: CallState
Property Value
togetherMode
Proxy of <xref:%40azure%2Fcommunication-calling%23TogetherModeCallFeature>.
togetherMode: TogetherModeCallFeatureState
Property Value
transcription
Proxy of <xref:%40azure%2Fcommunication-calling%23TranscriptionCallFeature>.
transcription: TranscriptionCallFeature