SENTTripProcessingTransportSegment

SENTTripProcessingTransportSegment is used to define a portion of the trip having the same characteristics.

vehicleMode

Returns the vehicle mode detected for the transport segment

@property (nonatomic) SENTTripProcessingVehicleMode vehicleMode;

startDate

Returns the start date of the transport segment

@property (nonatomic, strong) NSDate *startDate;

endDate

Returns the end date of the transport segment

@property (nonatomic, strong) NSDate *endDate;

distance

Returns the distance in meters travelled during the timeframe of the transport segment

averageSpeed

Returns the average speed in m/s of the user during the timeframe of the transport segment

topSpeed

Returns the maximum speed in m/s detected during the timeframe of the transport segment

speedingPercentage

Returns the percentage of the transport segment the user's speed has been over the speed limit

hardEvents

Returns the array of hard events detected during the timeframe of the transport segment

The hard event detection must be explicitly enabled via [SENTConfig isHardEventDetectionEnabled:] before initializing the SDK.

Last updated