Android Question Service_Timeout event for Starter Service in SDK34

Alessandro71

Well-Known Member
Licensed User
Longtime User
does this event need to be defined for the Starter Service also?
and if yes, which notification id should we use?
 

Alessandro71

Well-Known Member
Licensed User
Longtime User
No. The only case where you need this event is if you are using the new "shortService" foreground mode. In this mode the OS can raise this event and your app must call StopForeground immediately.

maybe it's only me and my lame english, but according to this post
it was not clear that the Service_Timeout event is only relevant to "shortService" and I was going to define it to for every service i'm using.
it think it's not harmful, but i suggest to correct the original post to clarify that.
 
Upvote 0
Top