public final class ZendriveFeedback
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
ZendriveFeedback.DriveCategory |
Modifier and Type | Method and Description |
---|---|
static void |
addDriveCategory(java.lang.String driveId,
ZendriveFeedback.DriveCategory category)
Help Zendrive improve by providing feedback for a drive detected by the SDK
If the SDK is not setup, this method is a no-op.
|
static void |
addEventOccurrence(java.lang.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
If the SDK is not setup, this method is a no-op.
|
public static void addDriveCategory(java.lang.String driveId, ZendriveFeedback.DriveCategory category)
driveId
- as returned at the end of drive in DriveInfo.driveId
category
- the category that best indicates the type of Drivepublic static void addEventOccurrence(java.lang.String driveId, long eventTimestamp, ZendriveEventType eventType, boolean occurrence)
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