How do I tell if a user hit SAVE -vs- DISCARD? I want to do something different depending. Both actions trigger "onTimerReset()".
Thanks!!
How do I tell if a user hit SAVE -vs- DISCARD? I want to do something different depending. Both actions trigger "onTimerReset()".
Thanks!!
You decide what a button press does. So you know?
I don't get it. A user hits the START/STOP button, then the user selects to SAVE or DISCARD. All CIQ knows is that onTimerReset() is called. How could I know which they picked? To SAVE or DISCARD the activity?
In what kind of UI are you and more importantly what kind of delegate are you using?
not sure you can as there's not something like onTimerSave() available in DFs You can just tell the activity is over.
I just have a complex data field. If that is what you mean by a UI. No delegate. Just the standard functions that react to buttons.

it's a data field, and with those, the only input is onTap with some touch devices. No access to keys, etc
we do know when key are pressed. like lap, start, stop. but we don't know, it seems, if the user decided to save or discard. no big deal. but a new onSave or onDiscard could be useful I think.
Ahh and no access to the session object?
Hmmm. I never looked at that. I bet a datafield can't use that, since recording is handled automatically. But I'll take a look.
You know about things like start/stop/lap indirectly, but not by way of a delegate. Even in the case of a lap, it could be a manual lap or auto lap and from a CIQ Df, you can't tell which.