Ticket Created
over 4 years ago

WERETECH-10084

Activity Enumerators table is missing key values

Hi,

https://developer.garmin.com/connect-iq/api-docs/Toybox/Activity.html

Tables of enumerators no longer populate "Since" and "Description" columns making it impossible to tell what is available when and for which devices.

G

  • The enums in the Activity module were added for 3.2.0. It seems that you are thinking of the ones in the ActivityRecording module that have the same names. Those were available in 1.0.0.

    Here is the ActivityRecording.Sport1 table...

    Here is the Activity.Sport table. The entire table has a label that says since 3.2.0...

    I use the “since” data to inform what things I do and do not have to check for on the device and which things might be available.

    Given the information shown in the tables, I'm pretty sure you can do this. All devices that have ActivityRecording module support will have access to the ActivityRecording.Sport1 constants. Devices that additionally have 3.0.10 support have access to the ActivityRecording.Sport2 constants (we should really put these into a single enum group now).

  • Any update on this?

  • To short circuit this:

    I use the “since” data to inform what things I do and do not have to check for on the device and which things might be available. 

    Currently, it is not possible to do that, whatever the cause.

     

  • Eta: The screenshot doesn’t display the enumerators since value below the table, but all seem to be set to 3.2.0. 

    If _that_ is the bug, it is _still_ a bug. 

  • Well, then it is broken. 

    Pretty sure SPORT_GENERIC predates CIQ3.2.0.