If they hold them up in my face (without a good reason such as me saying/doing something where recording/photos are plausible and expected), I'd ask them to put it away, and probably knock it out of their hand or walk away if they didn't within a reasonable timeframe.
I'd do the same for google glasses.