in AzureCommunicationUI/sdk/AzureCommunicationUICalling/Sources/Model/ParticipantCapabilityType.swift [29:64]
func toParticipantCapabilityType() -> ParticipantCapabilityType {
switch self {
case .turnVideoOn:
return .turnVideoOn
case .unmuteMicrophone:
return .unmuteMicrophone
case .removeParticipant:
return .removeParticipant
case .manageLobby:
return .manageLobby
case .shareScreen:
return .shareScreen
case .hangUpForEveryone:
return .hangUpForEveryone
case .addTeamsUser:
return .addTeamsUser
case .addCommunicationUser:
return .addCommunicationUser
case .addPhoneNumber:
return .addPhoneNumber
case .spotlightParticipant:
return .spotlightParticipant
case .removeParticipantSpotlight:
return .removeParticipantSpotlight
case .blurBackground:
return .blurBackground
case .customBackground:
return .customBackground
case .startLiveCaptions:
return .startLiveCaptions
case .raiseHand:
return .raiseHand
@unknown default:
return .none
}
}