Removing notification using String tag and int id?
<p>I'd like to put a notification in the notification tray. It's for a multiplayer game, and I want to notify a user when it's their turn to make a move. They can participate in multiple games at once, and I'll send one notification per game when/if it's their move. Each game has a unique ID, so I wanted to send notifications like:</p>

<pre><code>int TYPE_NOTIF_YOUR_TURN = 0;
String gameId1 = "abc";
String gameId2 = "xyz";

mgr.notify(gameId1, TYPE_NOTIF_YOUR_TURN, notification);
mgr.notify(gameId2, TYPE_NOTIF_YOUR_TURN, notification);
</code></pre>

<p>Now if I need to cancel one of the notifications, I can look up using the tag (in my case the gameId)?:</p>

<pre><code>// only remove the second notification:
mgr.cancel(gameId2, TYPE_NOTIF_YOUR_TURN);
</code></pre>

<p>Is that how it works?</p>

<p>Thanks</p>
