in AzureCommunicationUI/sdk/AzureCommunicationUICalling/Sources/Model/CapabilityResolutionReason.swift [21:42]
func toCapabilityResolutionReason() -> CapabilityResolutionReason {
switch self {
case .capable:
return .capable
case .callTypeRestricted:
return .callTypeRestricted
case .userPolicyRestricted:
return .userPolicyRestricted
case .meetingRestricted:
return .meetingRestricted
case .featureNotSupported:
return .featureNotSupported
case .notInitialized:
return .notInitialized
case .notCapable:
return .notCapable
case .roleRestricted:
return .roleRestricted
@unknown default:
fatalError("Fatal Error")
}
}