uninstall
Removes the scanner overlay from activity and cancels the internal coroutine scope.
This is called automatically when the activity is destroyed. Explicit calls are only needed to stop the scanner while the activity is still alive.
Must be called on the main thread.
Parameters
activity
Activity whose scanner overlay should be removed.
Throws
in non-debug builds.