<div dir="ltr"><div class="gmail_quote"><br><div dir="ltr">I am writing lib which will monitor apps and notify/callback higher level if apps went down.<div>How can I achieve this?</div><div>I tried doing this using propertieschanged signal and reading substate property and that msg does not have old value and new value in the msg.</div><div>I noticed that when app go down i get two signals and hence two substates - stop and stop-term.</div><div>So it is difficult to call registered callbacks only when substate changes from running->stop.</div><div>Do i need to maintain current state of app in my lib?</div><div>is there any other easier way for this ??</div><div>Thanks</div><div><br></div></div>
</div><br></div>