CIQ 1.2.x + WF Altitude, Baro, HR, etc - best approach?

Please excuse the noob question. I've got the CIQ 2.1.x metod of using the sensor iterator working well, but I don't quite have a grasp on how earlier CIQ watch faces can display altitude, pressure, HR, etc.? What is the best approach for accessing and displaying this info?

Is it to use Activity.getActivityInfo and use the object store to hold on to values when they're available? Is there a better method to get fresher samples?
  • Ok, I'll start with HR... Even on 2.x devices, I don't use SensorHistory for watch faces, but use ActivityMonitor for getHeartRateHistory. It's basically the same, but works on CIQ 1.x or 2.x devices with WHR (so things like the 235, F3HR as well as most 2.x watches)

    For the other things, see this post about Activity.Info:

    https://forums.garmin.com/forum/deve...to-a-watchface

    You'll be able to see some things there on 1x devices, and what's available varies by device (such as a baro altimeter)

    I often check those things and then use SensorHistory as a fallback on devices that have SensorHistory. Most CIQ 2.x watches have SH, but not all of of them or not all the calls (no SH on the Approach S60, and only HR on the the 735 as it doesn't have a baro altimeter)

    Oh, I just noticed you mentioned CIQ 1.2.x - the only watch that's on 1.2.x is the Epix. All other 1.x devices are on 1.4.x. Supporting the Epix can be a "challenge"...... :)
  • As Jim says, supporting the Epix can be a challenge and will put limits in unexpected places. Unless that is a target of yours or you know there are users that need it, I'd recommend shying away. I spent way too much time on it for what probably ended up being one user. Thankfully I have one so I could actually test it. I'd love to know just how many are actually in use.
  • Thanks for the advice, jim_m_58 and ekutter. I don't think I will support the epix. I will stop at the fenix 3 series.