These are both.
Shaheds/Gerbera used to be autonomous mission-based with baked flight paths, now they sometimes have cameras and internet.
BTW, they can be taken over post launch as a rule, this is one of the things that makes them a bit harder to take down, they don't follow a predictable trajectory and can react whilst underway. There are also jet powered versions that are a lot faster that are harder still to take down. The ones over Poland this morning all seem to be the prop based ones. There is also talk of at least one missile.