com.vidinoti.android.vdarsdk.arcore.VidinotiArJavascriptInterface.Listener |
Known Indirect Subclasses |
Interface defining the methods that can be called from the javascript
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Called when the AR view must be closed (e.g.
| |||||||||||
Called when the WebView content requested the detection of an image.
| |||||||||||
Called when the WebView content requested the detection of a plane.
| |||||||||||
Called when a continuous hit testing must be performed
| |||||||||||
Called when the WebView content requested a image capture of the camera.
| |||||||||||
Called when the last placement must be used as anchor
| |||||||||||
Called when the ARCore session can be stopped
|
Called when the AR view must be closed (e.g. at the end of an animation)
Called when the WebView content requested the detection of an image.
Once an image has been detected, the anchor matrix must be updated
(See sendAnchorMatrix(float[])
and
sendAnchorPlaced(String)
called.
id | the id corresponding to the placement request |
---|---|
imageUrl | the url of the image to track |
widthInMeters | the physical width of the image, it improves the tracking to specify the physical size |
Called when the WebView content requested the detection of a plane.
Once a plane has been detected, the anchor matrix must be updated
(See sendAnchorMatrix(float[])
and
sendAnchorPlaced(String)
called.
id | the id corresponding to the placement request |
---|
Called when a continuous hit testing must be performed
Called when the WebView content requested a image capture of the camera.
The screen capture must be sent via sendScreenCapture(String)
Called when the last placement must be used as anchor