java.lang.Object | ||
↳ | AppCompatActivity | |
↳ | com.vidinoti.android.vdarsdk.VDARDefaultARActivity |
Activity that is used for displaying AR content. For example, it is used for displaying a beacon AR content that is triggered from a list.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Called when all annotations (i.e.
| |||||||||||
Call when the given codes are recognized.
| |||||||||||
We override this method to make the interface orientation smoother as it
is properly handled internally in the PixLive SDK.
| |||||||||||
Initiates the sample activity
| |||||||||||
Advertise the listener that the user is in the specified context
| |||||||||||
Advertise the listener that the user is not anymore in the specified context
| |||||||||||
Called when a fatal error has occurred within VDARSDK.
| |||||||||||
Is called when the overall system is running low on memory.
| |||||||||||
Is called when the activity is paused.
| |||||||||||
Called when some annotations (i.e.
| |||||||||||
Called when some context or content requires the app to trigger a
synchronization based on a given tag.
| |||||||||||
Is called when the activity is resumed.
| |||||||||||
Advertise the listener that we have recognized an image and we are currently tracking it.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
com.vidinoti.android.vdarsdk.VDARSDKControllerEventReceiver
|
Called when all annotations (i.e. AR Content) are removed (hidden) from the screen.
Note that this can be called multiple times and even if a model is currently recognized.
This can be used to show overlays that used to be displayed over the AR view when onPresentAnnotations()
was called.
Call when the given codes are recognized.
We override this method to make the interface orientation smoother as it is properly handled internally in the PixLive SDK. It allows a proper rotation without having the system to restart the activity.
Initiates the sample activity
Advertise the listener that the user is in the specified context
context | The context the user is currently in |
---|
Advertise the listener that the user is not anymore in the specified context
context | The context the user was before it was out of it. |
---|
Called when a fatal error has occurred within VDARSDK.
It can be either a camera error or a certificate error preventing the application to use the SDK correctly.
errorDescription | The description of the error |
---|
Is called when the overall system is running low on memory.
Called when some annotations (i.e. AR Content) is displayed on screen.
Note that this can be called multiple times and even if no model is yet recognized.
This can be used to hide any overlays displayed over the AR view.
Called when some context or content requires the app to trigger a synchronization based on a given tag. The app should start the synchronization with the given tag(s) right away or at the end of the currently running synchronization.
priors | a list of VDARPrior object to launch the synchronization for. |
---|
Advertise the listener that we have recognized an image and we are currently tracking it.
Note this method is in practice not needed and you can provide an empty implementation in your application.
imageWidth | The width in pixel of the tracked image |
---|---|
imageHeight | The height in pixel of the tracked image |