Pause/Resume AR View

S’abonner

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.

Cet article vous a-t-il été utile ?
Utilisateurs qui ont trouvé cela utile : 0 sur 0

Commentaires

0 commentaire

Vous devez vous connecter pour laisser un commentaire.