oxygen saturation Descent Delta PX an other devices

Is it possible to obtain O2 from code for devices which the highest SDK is 3.1?

I've tried 2 ways which run on 3.2 and always got null.