Control DFC session count
I want to control the number of DFC sessions in my application. To prevent [DM_API_E_NO_SESSION]error: "There are no more available sessions." errors, and manage memory.
I tried using IDfSessionManagerStatistics.getSessions, but it doesn't seem to give me more that one session, even when I open several ones. Once I used IDfSessionManagerEventListener, but it didn't work either. Is it supposed to work?
I'm trying to avoid going throw all the code where newSession and release is invoked.
Can anyone help?
I'll appreciate any help.