According to ANSDK Reference ANInstanceEventActions Enumeration contains the following items:
|1||Same notification instance, but a new event.|
|2||End of a notification instance.|
|3||End of a notification instance because a new instance has been created.|
|4||Notification ended manually.|
Unfortunately I could not find anywhere what each action types means. Could anybody from OSI please share such information?
What I'm doing is - i have a small watcher app that is subscribed to listen for InstanceEvent event of ANNotificationList collection. When alarm happens I received action = NewNotification, then I'm waiting for event with action = NotificationEnded. But sometime it never happens, probably because in some particular cases action is never equal to NotificationEnded, maybe it is NotificationEndedNew or NotificationEndedManually. Also I don't understand when NewTriggerEvent and NewNotification happens, and why it could be Unknown.
Could you please give me advice how to do this properly to cover all possible variants and scenarios - in other words I need to always know when alarm starts and when it ends.