public class CompositeVisionArEventsListener
Constructor and Description |
---|
CompositeVisionArEventsListener() |
Modifier and Type | Method and Description |
---|---|
void |
onArCameraUpdated(ArCamera arCamera)
AR camera was updated
|
void |
onArFencesUpdated(ArFence[] arFences)
AR fences were updated
|
void |
onArLaneCutoffUpdated(float cutoff)
AR lane cutoff distance updated
|
void |
onArLaneUpdated(ArLane arLane)
AR lane was updated
|
void |
onArMaskUpdated(com.mapbox.vision.mobile.core.models.frame.Image arMask)
AR mask was updated
|
void |
onRouteUpdated(Route route)
Route was updated
|
public void onArCameraUpdated(ArCamera arCamera)
AR camera was updated
arCamera
- New instance of class ArCamera
public void onArLaneUpdated(ArLane arLane)
AR lane was updated
arLane
- New instance of class ArLane
public void onArFencesUpdated(ArFence[] arFences)
AR fences were updated
arFences
- New instance of class ArFence
arraypublic void onArLaneCutoffUpdated(float cutoff)
AR lane cutoff distance updated
cutoff
- Cutoff relative distance where AR lane should be cut off. Range 0..1 is appropriate. Values greatest than 1
have no effect.public void onArMaskUpdated(com.mapbox.vision.mobile.core.models.frame.Image arMask)
AR mask was updated
arMask
- Image that represents a mask defining areas where AR should not be rendered (e.g. hood, dashboard, device mount, etc.).
Each pixel contains a value representing confidence that AR pixel should not be rendered.public void onRouteUpdated(Route route)
Route was updated