1

I'm having an app which starts BLE session and do its job. But when the app crashed I want to stop the BLE session and stop other BLE services running. Can somebody help me to achieve this?

I tried services and I was able to stop them successfully. But the objects and BLE sessions are defined in few classes are not able to.

1 Answers1

0

This code snippet can be modified to execute a method when an uncaught exception is thrown depending on the thread that your exception occurs.

Maleesha97
  • 167
  • 1
  • 8