Classes
The following classes are available globally.
-
Exception of drive motion. In order to ensure that the application runs normally under abnormal conditions, please catch it.
See moreDeclaration
Swift
@objcMembers public class TNDriveMotionException : NSObject, Error
-
Setting information for Drive Motion SDK
See moreDeclaration
Swift
@objcMembers public class TNDriveMotionSettings : NSObject
-
This builder is used to create a instance of {@link TNDriveMotionSettings}.
See moreDeclaration
Swift
@objcMembers public class TNDriveMotionSettingsBuilder : NSObject
-
Undocumented
See moreDeclaration
Swift
@objcMembers public class TNAggregatedSafetyScore : NSObject, Codable
-
Request class to get aggregated safety score. Create an instance through {@link TNAggregatedSafetyScoreRequestBuilder#build()}.
See moreDeclaration
Swift
@objcMembers public class TNAggregatedSafetyScoreRequest : TNDriveMotionRequest
-
Undocumented
See moreDeclaration
Swift
@objcMembers public class TNAggregatedSafetyScoreRequestBuilder : NSObject
-
The response of the API that get aggregated safety score by time range.
See moreDeclaration
Swift
@objcMembers public class TNAggregatedSafetyScoreResponse : TNDriveMotionResponseBase
-
Aggregation of scores within a time range
See moreDeclaration
Swift
@objcMembers public class TNAggregatedScore : NSObject, Codable
-
Request class to get aggregated score. Create an instance through {@link TNAggregatedScoreRequestBuilder#build()}.
See moreDeclaration
Swift
@objcMembers public class TNAggregatedScoreRequest : TNDriveMotionRequest
-
This builder is used to create a instance of {@link TNAggregatedScoreRequest}, used for Trip Analytics Api to get aggregated drive score by time range
See moreDeclaration
Swift
@objcMembers public class TNAggregatedScoreRequestBuilder : NSObject
-
The response of the API that get aggregated drive score by time range.
See moreDeclaration
Swift
@objcMembers public class TNAggregatedScoreResponse : TNDriveMotionResponseBase
-
Basic trip information.
See moreDeclaration
Swift
@objcMembers public class TNBasicTrip : NSObject, Codable
-
Undocumented
See moreDeclaration
Swift
@objcMembers public class TNCumulativeScore : NSObject, Codable
-
Config description for item
See moreDeclaration
Swift
@objcMembers public class TNDescriptionItem : NSObject, Codable
-
Request class to get information about the config descriptions Create an instance through {@link TNGetConfigDescriptionsRequestBuilder#build()}.
See moreDeclaration
Swift
@objcMembers public class TNGetConfigDescriptionsRequest : TNDriveMotionRequest
-
Undocumented
See moreDeclaration
Swift
@objcMembers public class TNGetConfigDescriptionsRequestBuilder : NSObject
-
The response of the TNGetConfigDescriptionsRequest(see {@link TNGetConfigDescriptionsRequest}) that get config descriptions
See moreDeclaration
Swift
@objcMembers public class TNGetConfigDescriptionsResponse : TNDriveMotionResponseBase
-
Request class to get cumulative score. Create an instance through {@link TNGetCumulativeScoreRequestBuilder#build()}.
See moreDeclaration
Swift
@objcMembers public class TNGetCumulativeScoreRequest : TNDriveMotionRequest
-
Undocumented
See moreDeclaration
Swift
@objcMembers public class TNGetCumulativeScoreRequestBuilder : NSObject
-
The response of the API that get cumulative score.
See moreDeclaration
Swift
@objcMembers public class TNGetCumulativeScoreResponse : TNDriveMotionResponseBase
-
Request class to get information about the trip that has ended. Create an instance through {@link TNGetLatestTripDetailRequestBuilder#build()}.
See moreDeclaration
Swift
@objcMembers public class TNGetLatestTripDetailRequest : TNDriveMotionRequest
-
This builder is used to create a instance of {@link TNGetLatestTripDetailRequest}, used for Trip Analytics Api to get latest trip detail
See moreDeclaration
Swift
@objcMembers public class TNGetLatestTripDetailRequestBuilder : NSObject
-
The response of the TNGetLatestTripDetailRequest(see {@link TNGetLatestTripDetailRequest}) that get latest trip detail information.
See moreDeclaration
Swift
@objcMembers public class TNGetLatestTripDetailResponse : TNDriveMotionResponseBase
-
Request class to get live trip detail. Create an instance through {@link TNGetLiveTripDetailRequestBuilder#build()}.
See moreDeclaration
Swift
@objcMembers public class TNGetLiveTripDetailRequest : TNDriveMotionRequest
-
This builder is used to create a instance of {@link TNGetLiveTripDetailRequest}, used for Trip Analytics Api to get trip detail
See moreDeclaration
Swift
@objcMembers public class TNGetLiveTripDetailRequestBuilder : NSObject
-
The response of the TNGetLiveTripDetailRequest(see {@link TNGetLiveTripDetailRequest}) that get live trip detail information.
See moreDeclaration
Swift
@objcMembers public class TNGetLiveTripDetailResponse : TNDriveMotionResponseBase
-
Request class to get simulated aggregated safety score. Create an instance through [TNGetSimulatedSafetyScoreRequest.builder().build()].
@since 2.2
See moreDeclaration
Swift
@objcMembers public class TNGetSimulatedSafetyScoreRequest : TNDriveMotionRequest
-
Undocumented
See moreDeclaration
Swift
@objcMembers public class TNGetSimulatedSafetyScoreRequestBuilder : NSObject
-
Undocumented
See moreDeclaration
Swift
@objcMembers public class TNGetSimulatedSafetyScoreResponse : TNDriveMotionResponseBase
-
Undocumented
See moreDeclaration
Swift
@objcMembers public class TNGetStreaksRequest : TNDriveMotionRequest
-
Undocumented
See moreDeclaration
Swift
@objcMembers public class TNGetStreaksRequestBuilder : NSObject
-
Undocumented
See moreDeclaration
Swift
@objcMembers public class TNGetStreaksResponse : TNDriveMotionResponseBase
-
Request class to get information about the trip that has ended. Create an instance through {@link TNGetTripDetailRequestBuilder#build()}.
See moreDeclaration
Swift
@objcMembers public class TNGetTripDetailRequest : TNDriveMotionRequest
-
This builder is used to create a instance of {@link TNGetTripDetailRequest}, used for Trip Analytics Api to get trip detail
See moreDeclaration
Swift
@objcMembers public class TNGetTripDetailRequestBuilder : NSObject
-
The response of the TNGetLiveTripDetailRequest (see {@link TNGetLiveTripDetailRequest}) that get trip detail information.
See moreDeclaration
Swift
@objcMembers public class TNGetTripDetailResponse : TNDriveMotionResponseBase
-
Request class to get trips by time range. Create an instance through {@link TNGetTripsRequestBuilder#build()}. It supports paging query (not required) for trips within a certain time range.
See moreDeclaration
Swift
@objcMembers public class TNGetTripsRequest : TNDriveMotionRequest
-
This builder is used to create a instance of {@link TNGetTripsRequest}, used for Trip Analytics Api to get trips by time range
See moreDeclaration
Swift
@objcMembers public class TNGetTripsRequestBuilder : NSObject
-
The response of the TNGetTripsRequest(see {@link TNGetTripsRequest}) that get trips by time range.
See moreDeclaration
Swift
@objcMembers public class TNGetTripsResponse : TNDriveMotionResponseBase
-
If time intervals are used, this class aggregates the trips and scores in each time interval.
See moreDeclaration
Swift
@objcMembers public class TNIntervalScore : NSObject, Codable
-
Undocumented
See moreDeclaration
Swift
@objcMembers public class TNSafetyIntervalScore : NSObject, Codable
-
Undocumented
See moreDeclaration
Swift
@objcMembers public class TNStreak : NSObject, Codable
-
Undocumented
See moreDeclaration
Swift
@objcMembers public class TNStreakStatistic : NSObject, Codable
-
The request of the TNSyncTripsRequest(see {@link TNSyncTripsRequest}) make SDK synchronise.
See moreDeclaration
Swift
@objcMembers public class TNSyncTripsRequest : TNDriveMotionRequest
-
Undocumented
See moreDeclaration
Swift
@objcMembers public class TNSyncTripsRequestBuilder : NSObject
-
The response of the TNSyncTripsRequest(see {@link TNSyncTripsRequest}) that contain status of synchronisation.
See moreDeclaration
Swift
@objcMembers public class TNSyncTripsResponse : NSObject, TNDriveMotionResponse
-
Statistics of the trips.
See moreDeclaration
Swift
@objcMembers public class TNTripsInfo : TNBasicTripsInfo
-
Request update the classification to a ended trip. Create an instance through {@link TNUpdateTripTransportationModeRequest.Builder#build()}.
See moreDeclaration
Swift
@objcMembers public class TNUpdateTripTransportationModeRequest : TNDriveMotionRequest
-
Undocumented
See moreDeclaration
Swift
@objcMembers public class TNUpdateTripTransportationModeRequestBuilder : NSObject
-
The response of the TNUpdateTripTransportationModeRequest(see {@link TNUpdateTripTransportationModeRequest}) that mark trip mode.
See moreDeclaration
Swift
@objcMembers public class TNUpdateTripTransportationModeResponse : TNDriveMotionResponseBase
-
Undocumented
See moreDeclaration
Swift
@objcMembers public class TNAlertEvent : NSObject, Codable
-
Undocumented
See moreDeclaration
Swift
@objcMembers public class TNAlertEventItem : NSObject, Codable
-
Undocumented
See moreDeclaration
Swift
@objcMembers public class TNApplicationInfo : NSObject
-
Undocumented
See moreDeclaration
Swift
@objcMembers public class TNBasicTripsInfo : NSObject, Codable
-
The base request object.
Declaration
Swift
@objcMembers public class TNDriveMotionRequest : NSObject
-
Undocumented
See moreDeclaration
Swift
@objcMembers public class TNDriveMotionResponseBase : NSObject, TNDriveMotionResponse, Decodable
-
Score class of DriveMotion SDK.
See moreDeclaration
Swift
@objcMembers public class TNDriveScore : NSObject, Codable
-
Drive event.
See moreDeclaration
Swift
@objcMembers public class DMEvent : NSObject, Codable
-
Undocumented
See moreDeclaration
Swift
@objcMembers public class EventItem : NSObject, Codable
-
Undocumented
See moreDeclaration
Swift
@objcMembers public class EventItemType : NSObject
-
Undocumented
See moreDeclaration
Swift
@objcMembers public class SpeedingEventItemType : EventItemType
-
Undocumented
See moreDeclaration
Swift
@objcMembers public class DistractionEventItemType : EventItemType
-
Undocumented
See moreDeclaration
Swift
@objcMembers public class EventItemTypeFactory : NSObject
-
Event statistics.
See moreDeclaration
Swift
@objcMembers public class TNEventStatistic : NSObject, Codable
-
Historical score class of DriveMotion SDK.
See moreDeclaration
Swift
@objcMembers public class TNHistoricalScore : NSObject, Codable
-
Live trip detail information.
See moreDeclaration
Swift
@objcMembers public class TNLiveTrip : NSObject, Codable
-
Live trip summary information.
See moreDeclaration
Swift
@objcMembers public class TNLiveTripInfo : NSObject, Codable
-
Location information.
See moreDeclaration
Swift
@objcMembers public class TNLocation : NSObject, Codable
-
Undocumented
See moreDeclaration
Swift
@objc(TNRating) @objcMembers public class Rating : NSObject, Codable
-
Undocumented
See moreDeclaration
Swift
@objc(TNRatingFactor) @objcMembers public class RatingFactor : NSObject, Codable
-
Undocumented
See moreDeclaration
Swift
@objcMembers public class ScoreDetail : NSObject, Codable
-
Score metric for TNDriveScore
See moreDeclaration
Swift
@objcMembers public class ScoreFactor : NSObject, Codable
-
Trip detail information.
See moreDeclaration
Swift
@objcMembers public class TNTrip : NSObject, Codable
-
Trip summary information. Use it after the trip ends.
See moreDeclaration
Swift
@objcMembers public class TNTripInfo : NSObject, Codable
-
The broadcast base event of Drive motion.
See moreDeclaration
Swift
@objcMembers public class TNBroadcastEvent : NSObject, Codable
-
When the trip ends, DriveAnalyzedEvent will contain the final trip information and score information.
See moreDeclaration
Swift
@objcMembers public class TNDriveAnalyzedEvent : TNBroadcastEvent
-
When the trip ends, the event will be broadcast.
See moreDeclaration
Swift
@objcMembers public class TNDriveEndEvent : TNBroadcastEvent
-
When DriveMotion detects a safety event, an instance of TNDriveEvent will be broadcast.
See moreDeclaration
Swift
@objcMembers public class TNDriveEvent : TNBroadcastEvent
-
When the drive score changed, TNDriveScoreEvent will contain the current trip information and score information.
See moreDeclaration
Swift
@objcMembers public class TNDriveScoreEvent : TNBroadcastEvent
-
Undocumented
See moreDeclaration
Swift
@objcMembers public class TNDriveSpeedingAlertEvent : TNBroadcastEvent
-
When the trip ends, the event will be broadcast.
See moreDeclaration
Swift
@objcMembers public class TNDriveStartEvent : TNBroadcastEvent
-
The request of the TNGetDriveDetectionStateRequest(see {@link TNGetDriveDetectionStateRequest}) that request is.
See moreDeclaration
Swift
@objcMembers public class TNGetDriveDetectionStateRequest : TNDriveMotionRequest
-
Undocumented
See moreDeclaration
Swift
@objcMembers public class TNGetDriveDetectionStateRequestBuilder : NSObject
-
Undocumented
See moreDeclaration
Swift
@objcMembers public class TNGetDriveDetectionStateResponse : NSObject, TNDriveMotionResponse
-
The request of the TNStartDriveDetectionRequest(see {@link TNStartDriveDetectionRequest}) that request start collect trip data and drive detection.
See moreDeclaration
Swift
@objcMembers public class TNStartDriveDetectionRequest : TNDriveMotionRequest
-
Undocumented
See moreDeclaration
Swift
@objcMembers public class TNStartDriveDetectionRequestBuilder : NSObject
-
Undocumented
See moreDeclaration
Swift
@objcMembers public class TNStartDriveDetectionResponse : NSObject, TNDriveMotionResponse
-
The request of the TNStartDriveRequest(see {@link TNStartDriveRequest}) that request start drive manually.
See moreDeclaration
Swift
@objcMembers public class TNStartDriveRequest : TNDriveMotionRequest
-
Undocumented
See moreDeclaration
Swift
@objcMembers public class TNStartDriveRequestBuilder : NSObject
-
Undocumented
See moreDeclaration
Swift
@objcMembers public class TNStartDriveResponse : NSObject, TNDriveMotionResponse
-
The request of the TNStopDriveDetectionRequest(see {@link TNStopDriveDetectionRequest}) that request stop collecting trip data and drive detection.
See moreDeclaration
Swift
@objcMembers public class TNStopDriveDetectionRequest : TNDriveMotionRequest
-
Undocumented
See moreDeclaration
Swift
@objcMembers public class TNStopDriveDetectionRequestBuilder : NSObject
-
Undocumented
See moreDeclaration
Swift
@objcMembers public class TNStopDriveDetectionResponse : NSObject, TNDriveMotionResponse
-
The request of the TNStopDriveRequest(see {@link TNStopDriveRequest}) that request for stop drive manually.
See moreDeclaration
Swift
@objcMembers public class TNStopDriveRequest : TNDriveMotionRequest
-
Undocumented
See moreDeclaration
Swift
@objcMembers public class TNStopDriveRequestBuilder : NSObject
-
Undocumented
See moreDeclaration
Swift
@objcMembers public class TNStopDriveResponse : NSObject, TNDriveMotionResponse
-
Request class to get trip sync status. Create an instance through {@link TNGetUploadProgressRequestBuilder#build()}.
See moreDeclaration
Swift
@objcMembers public class TNGetUploadProgressRequest : TNDriveMotionRequest
-
This builder is used to create a instance of {@link TNGetUploadProgressRequest}, used for Trip Monitor Api to get trip sync status
See moreDeclaration
Swift
@objcMembers public class TNGetUploadProgressRequestBuilder : NSObject
-
The response of the TNGetUploadProgressRequest(see {@link TNGetUploadProgressRequest}) that get trip sync status
See moreDeclaration
Swift
@objcMembers public class TNGetUploadProgressResponse : TNDriveMotionResponseBase
-
Request class to get trip upload success time. Create an instance through {@link TNGetUploadSuccessTimestampRequestBuilder#build()}.
See moreDeclaration
Swift
@objcMembers public class TNGetUploadSuccessTimestampRequest : TNDriveMotionRequest
-
This builder is used to create a instance of {@link TNGetUploadSuccessTimestampRequest}, used for Trip Monitor Api to get trip upload success time
See moreDeclaration
Swift
@objcMembers public class TNGetUploadSuccessTimestampRequestBuilder : NSObject
-
The response of the TNGetUploadSuccessTimestampRequest(see {@link TNGetUploadSuccessTimestampRequest}) that get trip upload success time
See moreDeclaration
Swift
@objcMembers public class TNGetUploadSuccessTimestampResponse : TNDriveMotionResponseBase
-
The progress of trip upload
See moreDeclaration
Swift
@objcMembers public class TNProgress : NSObject, Codable
-
Request for delete user account and data
See moreDeclaration
Swift
@objcMembers public class TNDeleteAccountAndDataRequest : TNDriveMotionRequest
-
Undocumented
See moreDeclaration
Swift
@objcMembers public class TNDeleteAccountAndDataRequestBuilder : NSObject
-
The response of the TNDeleteAccountAndDataRequest(see {@link TNDeleteAccountAndDataRequest}) that mark trip mode.
See moreDeclaration
Swift
@objcMembers public class TNDeleteAccountAndDataResponse : TNDriveMotionResponseBase
-
The request of the TNGetUserProfileRequest(see {@link TNGetUserProfileRequest}) that request user profile data.
See moreDeclaration
Swift
@objcMembers public class TNGetUserProfileRequest : TNDriveMotionRequest
-
Undocumented
See moreDeclaration
Swift
@objcMembers public class TNGetUserProfileRequestBuilder : NSObject
-
The response of the TNGetUserProfileRequest(see {@link TNGetUserProfileRequest}) that get latest trip detail information.
See moreDeclaration
Swift
@objcMembers public class TNGetUserProfileResponse : TNDriveMotionResponseBase
-
The request of the TNOptInRequest(see {@link TNOptInRequest}) that updating consent to true.
See moreDeclaration
Swift
@objcMembers public class TNOptInRequest : TNDriveMotionRequest
-
Undocumented
See moreDeclaration
Swift
@objcMembers public class TNOptInRequestBuilder : NSObject
-
The response of the TNOptInRequest(see {@link TNOptInRequest}) that updated user consent value.
See moreDeclaration
Swift
@objcMembers public class TNOptInResponse : TNDriveMotionResponseBase
-
The request of the TNOptOutRequest(see {@link TNOptOutRequest}) that updating consent to false.
See moreDeclaration
Swift
@objcMembers public class TNOptOutRequest : TNDriveMotionRequest
-
Undocumented
See moreDeclaration
Swift
@objcMembers public class TNOptOutRequestBuilder : NSObject
-
The response of the TNOptOutRequest(see {@link TNOptOutRequest}) that updated user consent value.
See moreDeclaration
Swift
@objcMembers public class TNOptOutResponse : TNDriveMotionResponseBase
-
TNUserProfile class of DriveMotion SDK.
See moreDeclaration
Swift
@objcMembers public class TNUserProfile : NSObject, Codable
-
Undocumented
See moreDeclaration
Swift
@objcMembers public class TNVehicleProfile : NSObject, Codable
-
Undocumented
See moreDeclaration
Swift
@objcMembers public class TNVehicle : NSObject, Codable
-
Undocumented
See moreDeclaration
Swift
@objcMembers public class TNTelematics : NSObject, Codable
-
Undocumented
See moreDeclaration
Swift
@objcMembers public class TNConsent : NSObject, Codable
-
Undocumented
See moreDeclaration
Swift
@objcMembers public class TNChannel : NSObject, Codable
-
Options for SDK initialization Use
See moreTNSDKOptionsBuilder
to create options objectDeclaration
Swift
@objcMembers public class TNSDKOptions : NSObject
-
Undocumented
See moreDeclaration
Swift
@objcMembers public class TNSDKOptionsBuilder : NSObject
-
Undocumented
See moreDeclaration
Swift
@objc public class LogUtils : NSObject