public final class ZendriveFeedback extends Object
Modifier and Type | Class and Description |
---|---|
static class |
ZendriveFeedback.DriveCategory |
Modifier and Type | Method and Description |
---|---|
static void |
addDriveCategory(Context context,
String driveId,
ZendriveFeedback.DriveCategory category)
Help Zendrive improve by providing feedback for a drive detected by the SDK
|
static void |
addEventOccurrence(Context context,
String driveId,
long eventTimestamp,
ZendriveEventType eventType,
boolean occurrence)
Help Zendrive improve by providing information about whether an event detected by the SDK
occurred or not
|
public static void addDriveCategory(@NonNull Context context, @NonNull String driveId, @NonNull ZendriveFeedback.DriveCategory category)
If the SDK is not setup, this method is a no-op.
driveId
- as returned at the end of drive in DriveInfo.driveId
category
- the category that best indicates the type of Drivepublic static void addEventOccurrence(@NonNull Context context, @NonNull String driveId, long eventTimestamp, @NonNull ZendriveEventType eventType, boolean occurrence)
If the SDK is not setup, this method is a no-op.
driveId
- as returned at the end of drive in DriveInfo.driveId
which this
event is part ofeventTimestamp
- as returned by ZendriveEvent.startTimestampMillis
eventType
- as returned by ZendriveEvent.eventType
occurrence
- whether the event occurred or not