The code above is triggered by a device automatically, there are no any interaction(mouse click\key press etc.),
In this case,the pop-up message will not be hide automatically till i move the mouse.
This is not a bug in the usual sense. The problem is that API confuses - in fact “hide delay” configures a delay after user interaction, but not after notification is shown.
But ,how can i hide a notification after some delay?
I think i need to get a notification instance’s reference,and use a timer to hide it manually,how can i get the notification instance that i created? If the Notifications interface can return the Notification instance ,it will be simple.