- getActiveDriveInfo(Context) - Static method in class com.zendrive.sdk.Zendrive
-
Get info on the currently active drive.
- getAlias() - Method in class com.zendrive.sdk.ZendriveDriverAttributes
-
Returns the alias of the driver if set or null.
- 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 custom 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.
- 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
-
- 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.
- 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.
- 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.PhonePosition
-
- 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.ZendriveStarRating
-
- getValue() - Method in enum com.zendrive.sdk.ZendriveTurnDirection
-
- 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.
- getZendriveSettings(Context, ZendriveSettingsCallback) - Static method in class com.zendrive.sdk.Zendrive
-
Get the current state of settings affecting the Zendrive SDK's normal operation.
- getZendriveState(Context, ZendriveStateCallback) - Static method in class com.zendrive.sdk.Zendrive
-
Get the current state of the Zendrive SDK.
- GooglePlayConnectionError - Class in com.zendrive.sdk
-
This class represents an error that occurred when attempting to connect to google play services.
- GooglePlayConnectionError(ConnectionResult) - Constructor for class com.zendrive.sdk.GooglePlayConnectionError
-
- GooglePlaySettingsError - Class in com.zendrive.sdk
-
This class represents an error associated with Google Play Services settings.
- GooglePlaySettingsError(LocationSettingsResult) - Constructor for class com.zendrive.sdk.GooglePlaySettingsError
-
- googlePlaySettingsResult - Variable in class com.zendrive.sdk.GooglePlaySettingsError
-
Errors found when determining location settings status on the device.
- 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
.
- setAlias(String) - Method in class com.zendrive.sdk.ZendriveDriverAttributes
-
Set an alias for the driver.
- 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.
- setGroup(String) - Method in class com.zendrive.sdk.ZendriveDriverAttributes
-
Set the group id of 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(Context, 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.
- speedingRating - Variable in class com.zendrive.sdk.ZendriveEventRatings
-
- speedLimit - Variable in class com.zendrive.sdk.ZendriveEvent.SpeedingInfo
-
Speed limit where the speeding event is reported in meters per second.
- startDrive(Context, String, ZendriveOperationCallback) - Static method in class com.zendrive.sdk.Zendrive
-
Manually start recording a drive.
- startDriveWithPeriod1(Context, ZendriveOperationCallback) - Static method in class com.zendrive.sdk.insurance.ZendriveInsurance
-
Start a drive in Fairmatic insurance period 1.
- startDriveWithPeriod2(Context, String, ZendriveOperationCallback) - Static method in class com.zendrive.sdk.insurance.ZendriveInsurance
-
Start Fairmatic insurance period 2 in the SDK.
- startDriveWithPeriod3(Context, String, ZendriveOperationCallback) - Static method in class com.zendrive.sdk.insurance.ZendriveInsurance
-
Start Fairmatic 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(Context, ZendriveOperationCallback) - Static method in class com.zendrive.sdk.insurance.ZendriveInsurance
-
- startSession(Context, 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.
- stopManualDrive(Context, ZendriveOperationCallback) - Static method in class com.zendrive.sdk.Zendrive
-
Stop the currently active manually started drive.
- stopPeriod(Context, ZendriveOperationCallback) - Static method in class com.zendrive.sdk.insurance.ZendriveInsurance
-
Stop currently ongoing Fairmatic insurance period if any.
- stopSession(Context) - 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.PhonePosition
-
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.ZendriveInsurancePeriod
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.zendrive.sdk.ZendriveIssueType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.zendrive.sdk.ZendriveStarRating
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.zendrive.sdk.ZendriveTurnDirection
-
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.PhonePosition
-
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.ZendriveInsurancePeriod
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.zendrive.sdk.ZendriveIssueType
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.zendrive.sdk.ZendriveStarRating
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.zendrive.sdk.ZendriveTurnDirection
-
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
-
A receiver 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
-
- 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.
- ZendriveDebug - Class in com.zendrive.sdk.debug
-
- ZendriveDebug() - Constructor for class com.zendrive.sdk.debug.ZendriveDebug
-
- 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
-
- 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
-
- ZendriveEvent.SpeedingInfo - Class in com.zendrive.sdk
-
Extra information for a Speeding event.
- ZendriveEventRatings - Class in com.zendrive.sdk
-
Represents ratings associated with the various
event types
for a trip.
- ZendriveEventRatings() - Constructor for class com.zendrive.sdk.ZendriveEventRatings
-
- 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 Fairmatic insurance periods for a driver may use this API.
- ZendriveInsurancePeriod - Enum in com.zendrive.sdk
-
- ZendriveIssueType - Enum in com.zendrive.sdk
-
- 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.
- ZendriveSettingError - Class in com.zendrive.sdk
-
This class represent an error in application or device settings
that is affecting the ability of the SDK to detect trips.
- ZendriveSettingError(ZendriveIssueType) - Constructor for class com.zendrive.sdk.ZendriveSettingError
-
- ZendriveSettings - Class in com.zendrive.sdk
-
This class surfaces errors in device or application settings that affect SDK trip detection
as well as warnings that may affect the normal functioning of the Zendrive SDK.
- ZendriveSettings(List<ZendriveSettingError>, List<ZendriveSettingWarning>) - Constructor for class com.zendrive.sdk.ZendriveSettings
-
- ZendriveSettingsCallback - Interface in com.zendrive.sdk
-
- ZendriveSettingWarning - Class in com.zendrive.sdk
-
This class represents a warning that may impact the normal functioning of the Zendrive SDK.
- ZendriveSettingWarning(ZendriveIssueType) - Constructor for class com.zendrive.sdk.ZendriveSettingWarning
-
- ZendriveSetupCallback - Interface in com.zendrive.sdk
-
- ZendriveStarRating - Enum in com.zendrive.sdk
-
Zendrive follows the star rating system, under which five star defined as the best rating with
one being the worst.
- ZendriveState - Class in com.zendrive.sdk
-
Represents the current state of the Zendrive SDK.
- ZendriveState() - Constructor for class com.zendrive.sdk.ZendriveState
-
- ZendriveStateCallback - Interface in com.zendrive.sdk
-
- ZendriveTurnDirection - Enum in com.zendrive.sdk
-
- ZendriveUserMode - Enum in com.zendrive.sdk
-
For a
Drive
, whether the user was a driver or a passenger