I have any app that is required to perform work if a
le_avdata session is not open and stop that work when a
le_avdata session is open. I used the
le_avdata_AddSessionStateHandler which I have has works well. Something that I didn’t expect is when I update my app that has an open data session (only the app I’m updating is restarted all other apps are left running by Legato) there doesn’t seem to be an API to determine if a session is open or closed. Obviously the handler isn’t called because the session event has happened before the app restarted.
Is there an API to determine if an AVData session is open?