dismiss()

Use this function to end a scanning session, close the mobile OS scanning interface, and dispose of resources.

None.

None.

After calling dismiss(), you can call scan() on an existing or new BarcodeScanner instance to start a new scanning session.