ZendriveMockRangeEventBuilder
@interface ZendriveMockRangeEventBuilder : ZendriveMockEventBuilder
Base range event builder. Range events are events which span a time duration. The start timestamp and end timestamp are different. Also, start location is different from end location.
This will seldom be initialized directly. Instead use some of the specific range event builders (like ZendriveMockHardBrakeEventBuilder
).
-
Set start location and end location of the range event.
Declaration
Objective-C
- (nonnull instancetype) setLocation:(nonnull ZendriveLocationPoint *)startLocation endLocation:(nonnull ZendriveLocationPoint *)endLocation;
Parameters
startLocation
start location of this event.
endLocation
end location of this event.