- getActiveDriveInfo() - Static method in class com.zendrive.sdk.Zendrive
-
Get info on the currently active drive.
- getBuildVersion() - Static method in class com.zendrive.sdk.Zendrive
-
Returns an identifier which can be used to identify this SDK build.
- getCustomAttribute(String) - Method in class com.zendrive.sdk.ZendriveDriverAttributes
-
Returns the specified custome attribute if set or null.
- getDriverAttributes() - Method in class com.zendrive.sdk.ZendriveConfiguration
-
Returns the additional attributes of the current driver.
- getDriverId() - Method in class com.zendrive.sdk.ZendriveConfiguration
-
Returns the unique ID of the driver using this application.
- getDriverStartDate() - Method in class com.zendrive.sdk.ZendriveDriverAttributes
-
Returns the start date of the driver if set or null.
- getEmail() - Method in class com.zendrive.sdk.ZendriveDriverAttributes
-
Returns the email of the driver if set or null.
- getErrorCode() - Method in class com.zendrive.sdk.ZendriveOperationResult
-
Get the error code for the operation if the operation failed.
- getErrorMessage() - Method in class com.zendrive.sdk.ZendriveOperationResult
-
Get the error message for the operation if this is the result of a failed operation.
- getEventSupportForDevice(Context) - Static method in class com.zendrive.sdk.Zendrive
-
- getFirstName() - Method in class com.zendrive.sdk.ZendriveDriverAttributes
-
Returns the first name of the driver if set or null.
- getForegroundOptimization() - Method in class com.zendrive.sdk.ZendriveConfiguration
-
Is foreground optimization enabled or disabled?
- getGroup() - Method in class com.zendrive.sdk.ZendriveDriverAttributes
-
Returns the group id of the driver if set or null.
- getId() - Method in class com.zendrive.sdk.ZendriveNotificationContainer
-
Returns the ID for the notification encapsulated by this container.
- getInDriveNotificationContainer(Context) - Method in interface com.zendrive.sdk.ZendriveNotificationProvider
-
Fetches a notification that is displayed when the SDK detects that the user is driving.
- getJsonForUpload() - Method in class com.zendrive.sdk.ZendriveDriverAttributes
-
Get the json format to upload attributes.
- getLastName() - Method in class com.zendrive.sdk.ZendriveDriverAttributes
-
Returns the last name of the driver if set or null.
- getMaybeInDriveNotificationContainer(Context) - Method in interface com.zendrive.sdk.ZendriveNotificationProvider
-
Fetches a notification that is displayed when the SDK detects a possible drive.
- getNotification() - Method in class com.zendrive.sdk.ZendriveNotificationContainer
-
Returns the notification that is encapsulated by the container.
- getPhoneNumber() - Method in class com.zendrive.sdk.ZendriveDriverAttributes
-
Returns the phone number of the driver if set or null.
- getSdkKey() - Method in class com.zendrive.sdk.ZendriveConfiguration
-
Returns the Zendrive sdk key used by this application.
- getServiceLevel() - Method in class com.zendrive.sdk.ZendriveDriverAttributes
-
- getValue() - Method in enum com.zendrive.sdk.ZendriveAccidentConfidence
-
- getValue() - Method in enum com.zendrive.sdk.ZendriveDriveDetectionMode
-
- getValue() - Method in enum com.zendrive.sdk.ZendriveDriveType
-
- getValue() - Method in enum com.zendrive.sdk.ZendriveEventSeverity
-
- getValue() - Method in enum com.zendrive.sdk.ZendriveEventType
-
- getValue() - Method in enum com.zendrive.sdk.ZendriveUserMode
-
- getZendriveDriveDetectionMode() - Method in class com.zendrive.sdk.ZendriveConfiguration
-
Returns the drive detection mode specified for the Zendrive SDK.
- getZendriveState() - Static method in class com.zendrive.sdk.Zendrive
-
Get the current state of the Zendrive SDK.
- score - Variable in class com.zendrive.sdk.DriveInfo
-
The driving behaviour score for this drive.
- sessionId - Variable in class com.zendrive.sdk.AccidentInfo
-
Session id is specified by the enclosing application when it wants to
record a session
.
- sessionId - Variable in class com.zendrive.sdk.ActiveDriveInfo
-
Session id is optionally specified by the enclosing application when it wants to
record a session.
- sessionId - Variable in class com.zendrive.sdk.DriveInfo
-
Session id is specified by the enclosing application when it wants to
record a session
.
- sessionId - Variable in class com.zendrive.sdk.DriveResumeInfo
-
Session id is specified by the enclosing application when it wants to
record a session
.
- sessionId - Variable in class com.zendrive.sdk.DriveStartInfo
-
Session id is specified by the enclosing application when it wants to
record a session
.
- setCustomAttribute(String, String) - Method in class com.zendrive.sdk.ZendriveDriverAttributes
-
Set the custom attribute of the driver.
- setDriveDetectionMode(ZendriveDriveDetectionMode) - Method in class com.zendrive.sdk.ZendriveConfiguration
-
Set the drive detection mode of this configuration.
- setDriverAttributes(ZendriveDriverAttributes) - Method in class com.zendrive.sdk.ZendriveConfiguration
-
Set the additional attributes of the current driver.
- setDriverStartDate(Date) - Method in class com.zendrive.sdk.ZendriveDriverAttributes
-
The date which the driver signed up/started using your application.
- setEmail(String) - Method in class com.zendrive.sdk.ZendriveDriverAttributes
-
Set the email address of the driver.
- setFirstName(String) - Method in class com.zendrive.sdk.ZendriveDriverAttributes
-
Set the first name of the driver.
- setForegroundOptimization(boolean) - Method in class com.zendrive.sdk.ZendriveConfiguration
-
Deprecated.
- setGroup(String) - Method in class com.zendrive.sdk.ZendriveDriverAttributes
-
Set the group id of the driver.
- setLastName(String) - Method in class com.zendrive.sdk.ZendriveDriverAttributes
-
Set the last name of the driver.
- setPhoneNumber(String) - Method in class com.zendrive.sdk.ZendriveDriverAttributes
-
Set the phone number for the driver.
- setServiceLevel(ZendriveDriverAttributes.ServiceLevel) - Method in class com.zendrive.sdk.ZendriveDriverAttributes
-
The service level of a driver.
- setup(Context, ZendriveConfiguration, Class<? extends ZendriveBroadcastReceiver>, Class<? extends ZendriveNotificationProvider>, ZendriveOperationCallback) - Static method in class com.zendrive.sdk.Zendrive
-
Setup the Zendrive SDK with a configuration and a intent service for SDK callbacks.
- setZendriveDriveDetectionMode(ZendriveDriveDetectionMode, ZendriveOperationCallback) - Static method in class com.zendrive.sdk.Zendrive
-
- severity - Variable in class com.zendrive.sdk.ZendriveEvent
-
Indicates the severity of this event.
- speedingInfo - Variable in class com.zendrive.sdk.ZendriveEvent
-
Extra information for a Speeding event.
- SpeedingInfo() - Constructor for class com.zendrive.sdk.ZendriveEvent.SpeedingInfo
-
Default constructor.
- speedLimit - Variable in class com.zendrive.sdk.ZendriveEvent.SpeedingInfo
-
Speed limit where the speeding event is reported in meters per second.
- startDrive(String, ZendriveOperationCallback) - Static method in class com.zendrive.sdk.Zendrive
-
Manually start recording a drive.
- startDriveWithPeriod2(String, ZendriveOperationCallback) - Static method in class com.zendrive.sdk.insurance.ZendriveInsurance
-
Start insurance period 2 in the SDK.
- startDriveWithPeriod3(String, ZendriveOperationCallback) - Static method in class com.zendrive.sdk.insurance.ZendriveInsurance
-
Start insurance period 3 in the SDK.
- startLocation - Variable in class com.zendrive.sdk.DriveStartInfo
-
The start location of the drive.
- startLocation - Variable in class com.zendrive.sdk.ZendriveEvent
-
The start location of the event.
- startPeriod1(ZendriveOperationCallback) - Static method in class com.zendrive.sdk.insurance.ZendriveInsurance
-
Start insurance period 1 in the SDK.
- startSession(String) - Static method in class com.zendrive.sdk.Zendrive
-
Start a session in the SDK.
- startTimeMillis - Variable in class com.zendrive.sdk.ActiveDriveInfo
-
The start timestamp of the drive in milliseconds since epoch.
- startTimeMillis - Variable in class com.zendrive.sdk.DriveInfo
-
The start timestamp of the drive in milliseconds since epoch.
- startTimeMillis - Variable in class com.zendrive.sdk.DriveResumeInfo
-
The start timestamp of the drive in milliseconds since epoch.
- startTimeMillis - Variable in class com.zendrive.sdk.DriveStartInfo
-
The start timestamp of the drive in milliseconds since epoch.
- startTimestampMillis - Variable in class com.zendrive.sdk.ZendriveEvent
-
The start timestamp of the event in millisecs since epoch.
- stopDrive(String, ZendriveOperationCallback) - Static method in class com.zendrive.sdk.Zendrive
-
Stop the currently active manually started drive.
- stopPeriod(ZendriveOperationCallback) - Static method in class com.zendrive.sdk.insurance.ZendriveInsurance
-
Stop currently ongoing insurance period if any.
- stopSession() - Static method in class com.zendrive.sdk.Zendrive
-
Stop currently ongoing session.
- valueOf(String) - Static method in enum com.zendrive.sdk.feedback.ZendriveFeedback.DriveCategory
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.zendrive.sdk.ZendriveAccidentConfidence
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.zendrive.sdk.ZendriveDriveDetectionMode
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.zendrive.sdk.ZendriveDriverAttributes.ServiceLevel
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.zendrive.sdk.ZendriveDriveType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.zendrive.sdk.ZendriveErrorCode
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.zendrive.sdk.ZendriveEventSeverity
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.zendrive.sdk.ZendriveEventType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.zendrive.sdk.ZendriveLocationSettingsResult.Error
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.zendrive.sdk.ZendriveUserMode
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum com.zendrive.sdk.feedback.ZendriveFeedback.DriveCategory
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.zendrive.sdk.ZendriveAccidentConfidence
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.zendrive.sdk.ZendriveDriveDetectionMode
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.zendrive.sdk.ZendriveDriverAttributes.ServiceLevel
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.zendrive.sdk.ZendriveDriveType
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.zendrive.sdk.ZendriveErrorCode
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.zendrive.sdk.ZendriveEventSeverity
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.zendrive.sdk.ZendriveEventType
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.zendrive.sdk.ZendriveLocationSettingsResult.Error
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.zendrive.sdk.ZendriveUserMode
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- Zendrive - Class in com.zendrive.sdk
-
Zendrive class is the entry point into the Zendrive SDK.
- ZendriveAccidentConfidence - Enum in com.zendrive.sdk
-
Indicates the confidence of the reported accident.
- ZendriveBroadcastReceiver - Class in com.zendrive.sdk
-
An intent service to receive callbacks from the Zendrive SDK when interesting events occur or
are detected in the SDK.
- ZendriveBroadcastReceiver() - Constructor for class com.zendrive.sdk.ZendriveBroadcastReceiver
-
- ZendriveConfiguration - Class in com.zendrive.sdk
-
The configuration to pass to Zendrive for
setup
.
- ZendriveConfiguration(String, String) - Constructor for class com.zendrive.sdk.ZendriveConfiguration
-
Creates a ZendriveConfiguration with the given sdk key and a driver id.
- ZendriveConfiguration(String, String, ZendriveDriveDetectionMode) - Constructor for class com.zendrive.sdk.ZendriveConfiguration
-
Creates a ZendriveConfiguration with the given sdk key, driver id and drive
detection mode.
- ZendriveConfiguration(JSONObject) - Constructor for class com.zendrive.sdk.ZendriveConfiguration
-
Creates a ZendriveConfiguration from its json representation.
- zendriveConfiguration - Variable in class com.zendrive.sdk.ZendriveState
-
The current configuration of the SDK.
- ZendriveDriveDetectionMode - Enum in com.zendrive.sdk
-
Dictates the functioning of Zendrive's drive detection.
- ZendriveDriverAttributes - Class in com.zendrive.sdk
-
Additional attributes of a Zendrive driver.
- ZendriveDriverAttributes() - Constructor for class com.zendrive.sdk.ZendriveDriverAttributes
-
Default constructor
- ZendriveDriverAttributes(JSONObject) - Constructor for class com.zendrive.sdk.ZendriveDriverAttributes
-
Construct ZendriveDriverAttributes from JSON.
- ZendriveDriverAttributes.ServiceLevel - Enum in com.zendrive.sdk
-
Enumeration for different service levels supported by Zendrive for a driver.
- ZendriveDriveType - Enum in com.zendrive.sdk
-
Type of drive recorded by the Zendrive SDK.
- ZendriveErrorCode - Enum in com.zendrive.sdk
-
An error code that indicates the type of error that occured during a Zendrive SDK operation.
- ZendriveEvent - Class in com.zendrive.sdk
-
Represents an interesting event detected by Zendrive during a drive.
- ZendriveEvent() - Constructor for class com.zendrive.sdk.ZendriveEvent
-
Default constructor.
- ZendriveEvent.SpeedingInfo - Class in com.zendrive.sdk
-
Extra information for a Speeding event.
- ZendriveEventSeverity - Enum in com.zendrive.sdk
-
Indicates the severity of a event reported by Zendrive.
- ZendriveEventType - Enum in com.zendrive.sdk
-
Type of events that may be reported by the Zendrive SDK.
- ZendriveFeedback - Class in com.zendrive.sdk.feedback
-
Endpoint for providing feedback on a trip or events
- ZendriveFeedback.DriveCategory - Enum in com.zendrive.sdk.feedback
-
- ZendriveInsurance - Class in com.zendrive.sdk.insurance
-
Applications which want to record insurance periods for a driver may use this API.
- ZendriveLocationSettingsResult - Class in com.zendrive.sdk
-
The Location Settings result.
- ZendriveLocationSettingsResult() - Constructor for class com.zendrive.sdk.ZendriveLocationSettingsResult
-
- ZendriveLocationSettingsResult.Error - Enum in com.zendrive.sdk
-
Indicates the error in location settings on the device.
- ZendriveNotificationContainer - Class in com.zendrive.sdk
-
Used to encapsulate a notification along with a notification ID.
- ZendriveNotificationContainer(int, Notification) - Constructor for class com.zendrive.sdk.ZendriveNotificationContainer
-
Creates a ZendriveNotificationContainer instance.
- ZendriveNotificationProvider - Interface in com.zendrive.sdk
-
- ZendriveOperationCallback - Interface in com.zendrive.sdk
-
Callback that is used for asynchronous Zendrive calls.
- ZendriveOperationResult - Class in com.zendrive.sdk
-
A result of an operation performed on the Zendrive SDK.
- zendriveScore - Variable in class com.zendrive.sdk.DriveScore
-
The Zendrive score for this drive.
- ZendriveSetupCallback - Interface in com.zendrive.sdk
-
- ZendriveState - Class in com.zendrive.sdk
-
Represents the current state of the Zendrive SDK.
- ZendriveState() - Constructor for class com.zendrive.sdk.ZendriveState
-
- ZendriveUserMode - Enum in com.zendrive.sdk
-
For a
Drive
, whether the user was a driver or a passenger