ZendriveFeedback
@objc(ZDZendriveFeedback)
public final class ZendriveFeedback : NSObject
Class for providing feedback back to Zendrive
-
Help
Zendriveimprove by providing feedback for a drive detected by the SDK.Declaration
Swift
@objc public static func addDriveCategory(driveId: String, driveCategory: DriveCategory)Parameters
driveIdAs returned at the end of drive in
DriveInfo.driveCategoryThe category that best indicates the type of Drive.
-
Help
Zendriveimprove 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
driveIdAs returned at the end of drive in
DriveInfowhich this event is part ofeventTimestampAs returned in
Event.startTimeeventTypeAs returned in
Event.eventTypeoccurrenceWhether the event occurred or not
ZendriveFeedback Class Reference