1. Home
  2. SDK Android
  3. Advanced
  4. Show Marker Without Scanning

Show Marker Without Scanning

The ArActivity also provides a method to display a marker without scanning it: showArSceneWithoutTracking(int markerId). Obviously you need the marker id to call this method; it can retrieved from BearCallback.onMarkerRecognized when user successfully scanned a marker.

The behavior is the same as when a marker is recognized from scan:

  • the marker and its assets will be displayed in the augmented reality view
  • the BearCallback.onMarkerRecognized callback will be called if no issue while retrieving marker from backend, else BearCallback.onError callback will be called with isMarkerFromScan equals to false.

See example.

Was this article helpful to you? Yes No

How can we help?