1. Home
  2. SDK Android
  3. Advanced
  4. Pause/Resume AR View

Pause/Resume AR View

The augmented reality view is obviously the main consumption of the BEAR SDK. Therefore methods are provided to pause and resume the augmented reality so you can avoid battery drain when view is not in use:

Both methods are already handled in ArActivity lifecycle so you don’t need to call them from another activity but you can call them from a fragment if needed.

See example for pausing and resuming.

Was this article helpful to you? Yes No

How can we help?