Share via


CallAdapterClientState type

CommonCallAdapter state inferred from Azure Communication Services backend.

type CallAdapterClientState = {
  acceptedTransferCallState?: CallState
  alternateCallerId?: string
  call?: CallState
  cameraStatus?: "On" | "Off"
  deepNoiseSuppressionOnByDefault?: boolean
  devices: DeviceManagerState
  displayName?: string
  endedCall?: CallState
  environmentInfo?: EnvironmentInfo
  hideAttendeeNames?: boolean
  hideDeepNoiseSuppressionButton?: boolean
  isRoomsCall: boolean
  isTeamsCall: boolean
  isTeamsMeeting: boolean
  latestErrors: AdapterErrors
  latestNotifications: AdapterNotifications
  onResolveDeepNoiseSuppressionDependency?: () => Promise<DeepNoiseSuppressionEffectDependency>
  onResolveVideoEffectDependency?: () => Promise<VideoBackgroundEffectsDependency>
  reactions?: ReactionResources
  selectedVideoBackgroundEffect?: VideoBackgroundEffect
  sounds?: CallingSounds
  targetCallees?: CommunicationIdentifier[]
  userId: CommunicationIdentifierKind
  videoBackgroundImages?: VideoBackgroundImage[]
}