ZendriveFeedback
@objc(ZDZendriveFeedback)
public final class ZendriveFeedback : NSObject
Class for providing feedback back to Zendrive
-
Help
Zendrive
improve by providing feedback for a drive detected by the SDK.Declaration
Swift
@objc public static func addDriveCategory(driveId: String, driveCategory: DriveCategory)
Parameters
driveId
As returned at the end of drive in
DriveInfo
.driveCategory
The category that best indicates the type of Drive.
-
Help
Zendrive
improve by providing information about whether an event detected by the SDK occurred or not.Declaration
Swift
@objc public static func addEventOccurrence(driveId: String, eventTimestamp: Int64, eventType: EventType, occurrence: Bool)
Parameters
driveId
As returned at the end of drive in
DriveInfo
which this event is part ofeventTimestamp
As returned in
Event.startTime
eventType
As returned in
Event.eventType
occurrence
Whether the event occurred or not