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.
Comments
Please sign in to leave a comment.