1. Home
  2. SDK Android
  3. Implementation
  4. IBearHandler


The com.bear.common.sdk.IBearHandler class gives you ability to handle several features of the BEAR SDK:

  • register/unregister callbacks for BEAR SDK. See Callbacks section.
  • add/remove listeners for scan status and flash status
  • start/stop scan and check current scan status
  • enable/disable flash and check current flash status
  • trigger camera focus
  • clean the augmented reality view from displaying marker and assets
  • take a screenshot of the augmented reality view

The IBearHandler is attached to an ArActivity and can be used inside it and its fragments using ArActivity.getBearHandler method. The IBearHandler should not be called outside of these contexts.

Was this article helpful to you? Yes No

How can we help?