It's unlikely that your spin class bike will be broadcasting power via an open Bluetooth channel (or at all).
I guess if you have a set of powermeter pedals, you could pop them on the spin bike. Then with a Garmin head unit or wearable you could view and record your power data.