I’ll hold off on debating the privacy switch since the exact implementation details are still a bit murky
It’s definitely a software switch, that part is not murky. The fact that it can either disable the microphone or location already confirms that, this thread also has some examples on how to read the status of the switch through software: The free association Privacy Toggle thread