Reputation: 583
I just read that it is possible to group some messages to a collapse_key. Is it possible to get this collapse_key in the IntentService? I would need it for identification reasons.
Upvotes: 0
Views: 461
Reputation: 127
Do it like this in your IntentService:
intent.getExtras().getString("collapse_key");
Upvotes: 1
Reputation: 13647
You mean with an Intent? Try this:
String collapseKey = intent.getStringExtra("collapse_key");
Upvotes: 1