I'm sorry formatting text is treated as abuse, so clear text maybe
According to developer.garmin.com/.../Background.html
Temporal background events may be registered to run at a specific point in time by providing a Moment at which the event should trigger
A. e.g. when I call at 22:10 registerForTemporalEvent("at 2021-02-29 05:43") (even after 6 hours) system calls onTemporalEvent in this moment in future?
or may be registered to run at a periodically by specifying an interval Duration.
Is does mean that I don't have to call registerForTemporalEvent periodically it will run like timer?
B. e.g. when I call registerForTemporalEvent(new TIM.Duration(300)) at 22:05 system calls onTemporalEvent every 5 minutes (22:10, 22:20...)?
if a temporal event is scheduled for a time in the past, the event will trigger immediately.
what does mean? I want schedule like in A and system call onTemporalEvent immediately?
and next, developer.garmin.com/.../ServiceDelegate.html:
ServiceDelegate is a class used to service Background events.
This class is used as the main entry point for background processes. A callback function within the delegate can be used to initiate other system events (e.g. Communications), but only the delegate function is guaranteed to complete. The Background process may be shut down at any time to handle higher priority processes.
What does exactly mean: may be shut down? System won't call onTemporalEvent? App can't call registerForTemporalEvent?