FeedbackApi
Use this API to submit feedback on SDK detections.
FeedbackApi API
submitOccupantRoleFeedback()
submitOccupantRoleFeedback()Submits feedback for the detected occupant role of a specified transport. This feedback is utilized to enhance the accuracy of occupant role detection in future transport instances.
It is important to note that submitting feedback will not alter the occupant role currently assigned to the transport.
Returns the feedback result. See OccupantRoleFeedbackResult.
Throws SdkException if the SDK is not initialized.
OccupantRoleFeedbackResult submitOccupantRoleFeedback(
String transportId,
OccupantRoleFeedback occupantRole
);transportId
The identifier of the transport for which feedback is being provided.
occupantRole
The correct occupant role. See OccupantRoleFeedback.
submitVehicleCrashDetectionFeedback()
submitVehicleCrashDetectionFeedback()Submits feedback about a vehicle crash, whether it was detected and reported by the Sentiance SDK or occurred in real life but was not detected.
This feedback is used by Sentiance to analyze incidents and improve the accuracy and reliability of future crash detections.
Returns the feedback result. See VehicleCrashDetectionFeedbackResult.
Throws SdkException if the SDK is not initialized.
VehicleCrashDetectionFeedbackResult submitVehicleCrashDetectionFeedback(
VehicleCrashDetectionFeedback vehicleCrashDetectionFeedback
);vehicleCrashDetectionFeedback
The vehicle crash detection feedback. See VehicleCrashDetectionFeedback.
Last updated