public class CompositeVisionEventsListener implements VisionEventsListener
VisionEventsListener.DefaultImpls
Constructor and Description |
---|
CompositeVisionEventsListener() |
Modifier and Type | Method and Description |
---|---|
void |
onAuthorizationStatusUpdated(AuthorizationStatus authorizationStatus)
Authorization status was updated.
class VisionManager may not emit events unless it has successfully authorized. |
void |
onCameraUpdated(Camera camera)
Camera state was updated.
Use this method to obtain current values of calibration progress, frame size, and other camera parameters from
class Camera instance. |
void |
onCountryUpdated(Country country)
Country was updated.
|
void |
onFrameDetectionsUpdated(FrameDetections frameDetections)
Detections were updated.
|
void |
onFrameSegmentationUpdated(FrameSegmentation frameSegmentation)
Segmentation mask was updated.
|
void |
onFrameSignClassificationsUpdated(FrameSignClassifications frameSignClassifications)
Classified signs were updated.
|
void |
onRoadDescriptionUpdated(RoadDescription roadDescription)
Road description was updated.
Road description parameters reach maximum accuracy when
class Camera is calibrated and may not be produced until then. |
void |
onUpdateCompleted()
This method is called after the whole update iteration is completed. This means that all the data that came from delegate methods is in sync.
This method is an appropriate place to work with different values emitted from
class VisionManager during current iteration. |
void |
onVehicleStateUpdated(VehicleState vehicleState)
Vehicle state was updated.
|
void |
onWorldDescriptionUpdated(WorldDescription worldDescription)
World description was updated.
World description parameters reach maximum accuracy when
class Camera is calibrated and may not be produced until then. |
onAuthorizationStatusUpdated, onCameraUpdated, onCountryUpdated, onFrameDetectionsUpdated, onFrameSegmentationUpdated, onFrameSignClassificationsUpdated, onRoadDescriptionUpdated, onUpdateCompleted, onVehicleStateUpdated, onWorldDescriptionUpdated
public void onAuthorizationStatusUpdated(AuthorizationStatus authorizationStatus)
Authorization status was updated.
class VisionManager
may not emit events unless it has successfully authorized.
class VisionManager
public void onFrameSegmentationUpdated(FrameSegmentation frameSegmentation)
Segmentation mask was updated.
public void onFrameDetectionsUpdated(FrameDetections frameDetections)
Detections were updated.
public void onFrameSignClassificationsUpdated(FrameSignClassifications frameSignClassifications)
Classified signs were updated.
public void onRoadDescriptionUpdated(RoadDescription roadDescription)
Road description was updated.
Road description parameters reach maximum accuracy when class Camera
is calibrated and may not be produced until then.
class Camera
public void onWorldDescriptionUpdated(WorldDescription worldDescription)
World description was updated.
World description parameters reach maximum accuracy when class Camera
is calibrated and may not be produced until then.
class Camera
public void onVehicleStateUpdated(VehicleState vehicleState)
Vehicle state was updated.
public void onCameraUpdated(Camera camera)
Camera state was updated.
Use this method to obtain current values of calibration progress, frame size, and other camera parameters from class Camera
instance.
class Camera
public void onCountryUpdated(Country country)
Country was updated.
public void onUpdateCompleted()
This method is called after the whole update iteration is completed. This means that all the data that came from delegate methods is in sync.
This method is an appropriate place to work with different values emitted from class VisionManager
during current iteration.
Note: Performance of this function is critical since class VisionManager
blocks until the method execution is finished.
class VisionManager
,
class VisionManager