Pause/Resume AR View

Follow

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?
0 out of 0 found this helpful

Comments

0 comments

Please sign in to leave a comment.