Normal cameras and video cameras are fine, the key point is that the camera should not be fixed for continuous monitoring of public spaces.
Dashcams were a grey area, most are fixed mounted to a car with the capability to continously record so at first only cameras you manually place and trigger when about to drive were permitted, then the law was loosened further, and now I believe they are permitted.
Now here we have an interesting fact about the Swedish court system, you can present any evidence regardless of if it was collected through legal or illegal means, and the court will decide on if they will accept it or not.
The illegal part only comes into play in a separate case where you have to stand trial for whatever illegal act you did.