Share via


CallWithChatClientState interface

State from the backend services that drives CallWithChatComposite.

Properties

alternateCallerId

alternateCallerId for PSTN call

call

State of the current call.

chat

State of the current chat.

deepNoiseSuppressionOnByDefault

State to track whether the noise suppression should be on by default.

devices

State of available and currently selected devices

displayName

Display name of the participant using this CallWithChatAdapter.

environmentInfo

Environment information for system adapter is made on

hideAttendeeNames

Hide attendee names in teams meeting

hideDeepNoiseSuppressionButton

State to track whether to hide the noise suppression button.

isTeamsCall

State of whether the active call is a Teams interop call

isTeamsMeeting

State of whether the active call is a Teams interop meeting

latestCallErrors

Latest call error encountered for each operation performed via the adapter.

latestCallNotifications

Latest call notifications encountered in the call client state via the adapter.

latestChatErrors

Latest chat error encountered for each operation performed via the adapter.

onResolveDeepNoiseSuppressionDependency

Dependency to be injected for deep noise suppression effect.

onResolveVideoEffectDependency

Dependency to be injected for video background effects

reactions

Reaction resources to render in meetings

selectedVideoBackgroundEffect

State to track the selected video background effect

userId

ID of the call participant using this CallWithChatAdapter.

videoBackgroundImages

Default set of background images for background replacement effect

Property Details

alternateCallerId

alternateCallerId for PSTN call

alternateCallerId?: string

Property Value

string

call

State of the current call.

call?: CallState

Property Value

chat

State of the current chat.

chat?: ChatThreadClientState

Property Value

deepNoiseSuppressionOnByDefault

State to track whether the noise suppression should be on by default.

deepNoiseSuppressionOnByDefault?: boolean

Property Value

boolean

devices

State of available and currently selected devices

devices: DeviceManagerState

Property Value

displayName

Display name of the participant using this CallWithChatAdapter.

displayName: undefined | string

Property Value

undefined | string

environmentInfo

Environment information for system adapter is made on

environmentInfo?: EnvironmentInfo

Property Value

hideAttendeeNames

Hide attendee names in teams meeting

hideAttendeeNames?: boolean

Property Value

boolean

hideDeepNoiseSuppressionButton

State to track whether to hide the noise suppression button.

hideDeepNoiseSuppressionButton?: boolean

Property Value

boolean

isTeamsCall

State of whether the active call is a Teams interop call

isTeamsCall: boolean

Property Value

boolean

isTeamsMeeting

State of whether the active call is a Teams interop meeting

isTeamsMeeting: boolean

Property Value

boolean

latestCallErrors

Latest call error encountered for each operation performed via the adapter.

latestCallErrors: AdapterErrors

Property Value

latestCallNotifications

Latest call notifications encountered in the call client state via the adapter.

latestCallNotifications: AdapterNotifications

Property Value

latestChatErrors

Latest chat error encountered for each operation performed via the adapter.

latestChatErrors: AdapterErrors

Property Value

onResolveDeepNoiseSuppressionDependency

Dependency to be injected for deep noise suppression effect.

onResolveDeepNoiseSuppressionDependency?: () => Promise<DeepNoiseSuppressionEffectDependency>

Property Value

() => Promise<DeepNoiseSuppressionEffectDependency>

onResolveVideoEffectDependency

Dependency to be injected for video background effects

onResolveVideoEffectDependency?: () => Promise<VideoBackgroundEffectsDependency>

Property Value

() => Promise<VideoBackgroundEffectsDependency>

reactions

Reaction resources to render in meetings

reactions?: ReactionResources

Property Value

selectedVideoBackgroundEffect

State to track the selected video background effect

selectedVideoBackgroundEffect?: VideoBackgroundEffect

Property Value

userId

ID of the call participant using this CallWithChatAdapter.

userId: CommunicationIdentifierKind

Property Value

videoBackgroundImages

Default set of background images for background replacement effect

videoBackgroundImages?: VideoBackgroundImage[]

Property Value