Share via


CommonCallControlOptions type

Customization options for the control bar in calling experience.

type CommonCallControlOptions = {
  cameraButton?: boolean | { disabled: boolean }
  captionsButton?: boolean
  devicesButton?: boolean | { disabled: boolean }
  displayType?: CallControlDisplayType
  dtmfDialerButton?: boolean | { disabled: boolean }
  endCallButton?:
    | boolean
    | {
        disableEndCallModal?: boolean
        hangUpForEveryone?: false | "endCallOptions"
      }
  exitSpotlightButton?: boolean
  galleryControlsButton?: boolean
  holdButton?: boolean | { disabled: boolean }
  microphoneButton?: boolean | { disabled: boolean }
  moreButton?: boolean
  onFetchCustomButtonProps?: CustomCallControlButtonCallback[]
  participantsButton?: boolean | { disabled: boolean }
  peopleButton?: boolean | { disabled: boolean }
  raiseHandButton?: boolean | { disabled: boolean }
  reactionButton?: boolean | { disabled: boolean }
  realTimeTextButton?: boolean
  screenShareButton?: boolean | { disabled: boolean }
  teamsMeetingPhoneCallButton?: boolean
}