}
}
</pre></li>
-<li>When the notifications are no longer needed, deregister the callback for each call state with the <code>RemoveNotificationId()</code> method.</li></ol>
+<li>When the notifications are no longer needed, deregister the callback for each call state with the <code>RemoveNotificationId()</code> method:
+
+<pre class="prettyprint">
+simList.ElementAt(0).RemoveNotificationId(list);
+</pre>
+</li></ol>
</li>
</ul>
Log.Info(Globals.LogTag, "Sim state = " + args.NotificationData);
}
</pre></li>
- <li>When the notifications are no longer needed, deregister the callback with the <code>RemoveNotificationId()</code> method.</li>
+ <li>When the notifications are no longer needed, deregister the callback with the <code>RemoveNotificationId()</code> method:
+<pre class="prettyprint">
+simList.ElementAt(0).RemoveNotificationId(list);
+</pre></li>
</ol></li>
</ul>
Log.Info(Globals.LogTag, "Network service state = " + args.NotificationData);
}
</pre></li>
-<li>When the notifications are no longer needed, deregister the callback for each service state with the <code>RemoveNotificationId()</code> method.</li>
+<li>When the notifications are no longer needed, deregister the callback for each service state with the <code>RemoveNotificationId()</code> method:
+
+<pre class="prettyprint">
+simList.ElementAt(0).RemoveNotificationId(list);
+</pre></li>
</ol></li>
</ul>