SENTTripProcessingTransportSegment

This document refers to deprecated parts of the platform and has been left intact to help customers with legacy integrations. In order to access the latest platform features and documentation, please go to https://docs.sentiance.com.

Deprecated

This class was deprecated in v5.12.0, as part of the Trip Profiling feature deprecation.

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

@property (nonatomic) double distance;

averageSpeed

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

@property (nonatomic) double averageSpeed;

topSpeed

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

@property (nonatomic) double topSpeed;

speedingPercentage

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

@property (nonatomic) int speedingPercentage;

hardEvents

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

@property (nonatomic, strong) NSMutableArray<SENTTripProcessingHardEvent *> *hardEvents;

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

Last updated