Skip navigation links
A B C D E G H I M N O P R S U V W Z 

A

accidentInfo - Variable in class com.zendrive.sdk.testing.mockdrive.MockAccidentInfo
An AccidentInfo object which gets wrapped by this object.
accidentInfoList - Variable in class com.zendrive.sdk.testing.mockdrive.MockDrive
A list of mockAccidentInfos containing information for sending onAccident and onPotentialAccident callbacks.
addEventBuilder(MockEventBuilder) - Method in class com.zendrive.sdk.testing.mockdrive.MockDrive.Builder
Adds a mockEventBuilder which will be used to build a ZendriveEvent.
AggressiveAccelerationEventBuilder - Class in com.zendrive.sdk.testing.mockdrive
AggressiveAccelerationEventBuilder(long) - Constructor for class com.zendrive.sdk.testing.mockdrive.AggressiveAccelerationEventBuilder
Constructs a new AggressiveAccelerationEventBuilder instance.
averageSpeed - Variable in class com.zendrive.sdk.testing.mockdrive.MockDrive
 

B

build() - Method in class com.zendrive.sdk.testing.mockdrive.HardTurnEventBuilder
Builds a valid ZendriveEvent.
build() - Method in class com.zendrive.sdk.testing.mockdrive.MockDrive.Builder
Builds a valid mockDrive.
build() - Method in class com.zendrive.sdk.testing.mockdrive.MockEventBuilder
Builds a valid ZendriveEvent.
build() - Method in class com.zendrive.sdk.testing.mockdrive.SpeedingEventBuilder
Builds a valid ZendriveEvent.

C

clearEventBuilderList() - Method in class com.zendrive.sdk.testing.mockdrive.MockDrive.Builder
Clears the list of MockEventBuilders.
CollisionEventBuilder - Class in com.zendrive.sdk.testing.mockdrive
A builder for ZendriveEventType.COLLISION event and an AccidentInfo corresponding to this event.
CollisionEventBuilder(long, long, String, ZendriveAccidentConfidence, int, ZendriveVehicleType, ZendriveCollisionSeverity, ZendriveDirectionOfImpact) - Constructor for class com.zendrive.sdk.testing.mockdrive.CollisionEventBuilder
Constructs a new CollisionEventBuilder instance.
CollisionEventBuilder(ZendriveMockAccidentConfiguration, long, long, String) - Constructor for class com.zendrive.sdk.testing.mockdrive.CollisionEventBuilder
Constructs a new CollisionEventBuilder instance.
com.zendrive.sdk.testing.mockdrive - package com.zendrive.sdk.testing.mockdrive
 
createError(MockDriveErrorCode, String) - Static method in class com.zendrive.sdk.testing.mockdrive.MockZendriveOperationResult
Creates a result object for a failed operation.
createSuccess() - Static method in class com.zendrive.sdk.testing.mockdrive.MockZendriveOperationResult
Creates a result object for a successful operation.

D

delayFromAccidentSeconds - Variable in class com.zendrive.sdk.testing.mockdrive.MockAccidentInfo
Delay with which the corresponding callback should be send from the actual accident timestamp.
distanceMeters - Variable in class com.zendrive.sdk.testing.mockdrive.MockDrive
 
driveId - Variable in class com.zendrive.sdk.testing.mockdrive.MockDrive
 
driveScore - Variable in class com.zendrive.sdk.testing.mockdrive.MockDrive
 
driveType - Variable in class com.zendrive.sdk.testing.mockdrive.MockDrive
 

E

endTimeMillis - Variable in class com.zendrive.sdk.testing.mockdrive.MockDrive
 
eventRatings - Variable in class com.zendrive.sdk.testing.mockdrive.MockDrive
 

G

getErrorCode() - Method in class com.zendrive.sdk.testing.mockdrive.MockZendriveOperationResult
Gets the error code for the operation if the operation failed.
getErrorMessage() - Method in class com.zendrive.sdk.testing.mockdrive.MockZendriveOperationResult
Gets the error message for the operation if this is the result of a failed operation.
getFinalAccidentInfo() - Method in class com.zendrive.sdk.testing.mockdrive.CollisionEventBuilder
 
getPotentialAccidentInfo() - Method in class com.zendrive.sdk.testing.mockdrive.CollisionEventBuilder
 

H

HardBrakeEventBuilder - Class in com.zendrive.sdk.testing.mockdrive
A builder for ZendriveEventType.HARD_BRAKE event.
HardBrakeEventBuilder(long) - Constructor for class com.zendrive.sdk.testing.mockdrive.HardBrakeEventBuilder
Constructs a new HardBrakeEventBuilder instance.
HardTurnEventBuilder - Class in com.zendrive.sdk.testing.mockdrive
A builder for ZendriveEventType.HARD_TURN events.
HardTurnEventBuilder(long, long, ZendriveTurnDirection) - Constructor for class com.zendrive.sdk.testing.mockdrive.HardTurnEventBuilder
Constructs a new HardTurnEventBuilder instance.

I

isPotentialAccident - Variable in class com.zendrive.sdk.testing.mockdrive.MockAccidentInfo
isSuccess() - Method in class com.zendrive.sdk.testing.mockdrive.MockZendriveOperationResult
Checks if the operation was successful.

M

maxSpeed - Variable in class com.zendrive.sdk.testing.mockdrive.MockDrive
 
MockAccidentInfo - Class in com.zendrive.sdk.testing.mockdrive
A wrapper object over AccidentInfo containing some additional information to run the simulation.
MockAccidentInfo(AccidentInfo, boolean, int) - Constructor for class com.zendrive.sdk.testing.mockdrive.MockAccidentInfo
 
MockDrive - Class in com.zendrive.sdk.testing.mockdrive
Information of the drive to be simulated.
MockDrive.Builder - Class in com.zendrive.sdk.testing.mockdrive
A builder for MockDrive.
MockDriveErrorCode - Enum in com.zendrive.sdk.testing.mockdrive
An error code that indicates the type of error that occured during a ZendriveSDK-testing operation.
MockEventBuilder<T extends MockEventBuilder<T>> - Class in com.zendrive.sdk.testing.mockdrive
Abstract Builder class of a ZendriveEvent.
MockZendriveOperationResult - Class in com.zendrive.sdk.testing.mockdrive
A result of an operation performed on the ZendriveSDK-testing APIs.

N

newAutoDrive(long, long) - Static method in class com.zendrive.sdk.testing.mockdrive.MockDrive.Builder
Constructs a new Builder.

O

onDriveAnalyzedDelayMillis - Variable in class com.zendrive.sdk.testing.mockdrive.MockDrive
The duration between the onDriveEnd callback and the onDriveAnalyzed callback.
onDriveEndDelayMillis - Variable in class com.zendrive.sdk.testing.mockdrive.MockDrive
The duration between the end timestamp of the drive and the onDriveEnd callback.
onDriveStartDelayMillis - Variable in class com.zendrive.sdk.testing.mockdrive.MockDrive
The duration between the start timestamp of the drive and the onDriveStart callback.

P

PhoneHandlingEventBuilder - Class in com.zendrive.sdk.testing.mockdrive
PhoneHandlingEventBuilder(long, long) - Constructor for class com.zendrive.sdk.testing.mockdrive.PhoneHandlingEventBuilder
Constructs a new PhoneHandlingEventBuilder instance.
phonePosition - Variable in class com.zendrive.sdk.testing.mockdrive.MockDrive
 
PhoneScreenInteractionEventBuilder - Class in com.zendrive.sdk.testing.mockdrive
PhoneScreenInteractionEventBuilder(long, long) - Constructor for class com.zendrive.sdk.testing.mockdrive.PhoneScreenInteractionEventBuilder
Constructs a new PhoneScreenInteractionEventBuilder instance.
PointEventBuilder<T extends PointEventBuilder<T>> - Class in com.zendrive.sdk.testing.mockdrive
A builder for Point event.
presetMockDrive(Context, PresetTripType) - Static method in class com.zendrive.sdk.testing.mockdrive.MockDrive.Builder
Constructs a new Builder using the specified PresetTripType.
PresetTripType - Enum in com.zendrive.sdk.testing.mockdrive
Predefined drives which can be used for simulating and testing ZendriveSDK callbacks sent via ZendriveBroadcastReceiver.

R

RangeEventBuilder<T extends RangeEventBuilder<T>> - Class in com.zendrive.sdk.testing.mockdrive
A builder for Range event.

S

setAverageSpeed(double) - Method in class com.zendrive.sdk.testing.mockdrive.MockDrive.Builder
Sets the average speed of the drive in meters per second.
setDistanceMeters(double) - Method in class com.zendrive.sdk.testing.mockdrive.MockDrive.Builder
Sets the distance of the drive in meters.
setDriveType(ZendriveDriveType) - Method in class com.zendrive.sdk.testing.mockdrive.MockDrive.Builder
Sets the driveType of the drive.
setEventRatings(ZendriveEventRatings) - Method in class com.zendrive.sdk.testing.mockdrive.MockDrive.Builder
Sets the ZendriveEventRatings of the drive.
setLocation(LocationPoint) - Method in class com.zendrive.sdk.testing.mockdrive.PointEventBuilder
Sets the location of the event.
setLocation(LocationPoint, LocationPoint) - Method in class com.zendrive.sdk.testing.mockdrive.RangeEventBuilder
Sets the startLocation and endLocation of the event.
setMaxSpeed(double) - Method in class com.zendrive.sdk.testing.mockdrive.MockDrive.Builder
Sets the maximum speed of the drive in meters per second.
setMockAccidentConfiguration(ZendriveMockAccidentConfiguration) - Method in class com.zendrive.sdk.testing.mockdrive.CollisionEventBuilder
Set the ZendriveMockAccidentConfiguration to have some different values for collision callback.
setOnDriveAnalyzedDelay(long) - Method in class com.zendrive.sdk.testing.mockdrive.MockDrive.Builder
Sets the delay for the onDriveAnalyzed callback from the onDriveEnd callback of the drive.
setOnDriveEndDelay(long) - Method in class com.zendrive.sdk.testing.mockdrive.MockDrive.Builder
Sets the delay for the onDriveEnd callback from the end timestamp of the drive.
setOnDriveStartDelay(long) - Method in class com.zendrive.sdk.testing.mockdrive.MockDrive.Builder
Sets the delay for the onDriveStart callback from the start timestamp of the drive.
setPhonePosition(PhonePosition) - Method in class com.zendrive.sdk.testing.mockdrive.MockDrive.Builder
Sets the PhonePosition of the drive.
setScore(int) - Method in class com.zendrive.sdk.testing.mockdrive.MockDrive.Builder
Sets the driving behaviour score of the drive.
setSeverity(ZendriveEventSeverity) - Method in class com.zendrive.sdk.testing.mockdrive.MockEventBuilder
Sets the severity of the event.
setSpeedingInfo(double, double, double) - Method in class com.zendrive.sdk.testing.mockdrive.SpeedingEventBuilder
Sets the speedingInfo of the event.
setUserMode(ZendriveUserMode) - Method in class com.zendrive.sdk.testing.mockdrive.MockDrive.Builder
Sets the ZendriveUserMode of the drive.
setVehicleTaggingDetails(ZendriveVehicleTaggingDetails) - Method in class com.zendrive.sdk.testing.mockdrive.MockDrive.Builder
Sets the ZendriveVehicleTaggingDetails of the drive.
setVehicleType(ZendriveVehicleType) - Method in class com.zendrive.sdk.testing.mockdrive.MockDrive.Builder
Sets the ZendriveVehicleType of the drive.
setWayPoints(ArrayList<LocationPointWithTimestamp>) - Method in class com.zendrive.sdk.testing.mockdrive.MockDrive.Builder
Sets a list of LocationPointWithTimestamp objects corresponding to this drive in increasing order of timestamp.
simulate(Context, long) - Method in class com.zendrive.sdk.testing.mockdrive.MockDrive
Starts the simulation of the MockDrive.
SpeedingEventBuilder - Class in com.zendrive.sdk.testing.mockdrive
A builder for ZendriveEventType.SPEEDING event.
SpeedingEventBuilder(long, long) - Constructor for class com.zendrive.sdk.testing.mockdrive.SpeedingEventBuilder
Constructs a new SpeedingEventBuilder instance.
startTimeMillis - Variable in class com.zendrive.sdk.testing.mockdrive.MockDrive
 
StopSignViolationEventBuilder - Class in com.zendrive.sdk.testing.mockdrive
StopSignViolationEventBuilder(long) - Constructor for class com.zendrive.sdk.testing.mockdrive.StopSignViolationEventBuilder
Constructs a new StopSignViolationEventBuilder instance.

U

userMode - Variable in class com.zendrive.sdk.testing.mockdrive.MockDrive
 

V

valueOf(String) - Static method in enum com.zendrive.sdk.testing.mockdrive.MockDriveErrorCode
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.zendrive.sdk.testing.mockdrive.PresetTripType
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.zendrive.sdk.testing.mockdrive.MockDriveErrorCode
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.zendrive.sdk.testing.mockdrive.PresetTripType
Returns an array containing the constants of this enum type, in the order they are declared.
vehicleTaggingDetails - Variable in class com.zendrive.sdk.testing.mockdrive.MockDrive
 
vehicleType - Variable in class com.zendrive.sdk.testing.mockdrive.MockDrive
 

W

waypoints - Variable in class com.zendrive.sdk.testing.mockdrive.MockDrive
 

Z

zendriveEvents - Variable in class com.zendrive.sdk.testing.mockdrive.MockDrive
 
A B C D E G H I M N O P R S U V W Z 
Skip navigation links