SENTFeedback

A class for providing feedback on SDK detections.

SENTFeedback API

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 SENTOccupantRoleFeedbackResult.

func submitOccupantRoleFeedback(
        transportId: String,
        feedbackRole: SENTOccupantRoleFeedback
    ) -> SENTOccupantRoleFeedbackResult 
Parameters

transportId

The identifier of the transport for which feedback is being provided.

feedbackRole

The correct occupant role. See SENTOccupantRoleFeedback.

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.

Return the feedback result. See VehicleCrashDetectionFeedbackResult.

func submitVehicleCrashDetectionFeedback(
        feedback: VehicleCrashDetectionFeedback
    ) -> VehicleCrashDetectionFeedbackResult
Parameters

feedback

The vehicle crash detection feedback. See VehicleCrashDetectionFeedback.

Last updated