1. Home
  2. SDK iOS
  3. Implementation
  4. BearHandlerProtocol

BearHandlerProtocol

The BearHandlerProtocol provides a mechanism for your application to handle features of BearViewController(Objc).

  • Take screenshot of camera view, ignoring any overlapping UI elements;
  • Get the current state of the scanner;
  • Start/stop scanning;
  • Clean augmented reality view and destroy all loaded data;
  • Enable/disable and check current state of flash;
  • Check the current network reachability status.

Note: Network reachability status check depreacted and will be removed in the future release.

The BearHandlerProtocol should not be used before BearViewController view will be loaded. It will not trigger crash or an unexpected behaviour, but triggered action will not have any effect. You will receive warning message in debug output.

Was this article helpful to you? Yes No

How can we help?