Deprecated And Removed APIs
This topic provides a running list of APIs that have been deprecated in versions 1.4.0 and later of the SDK.
Note
To view the current release note, see SDK for Release Notes
DEPRECATED APIS
The following table lists the APIs that have been deprecated in versions 4.0 and later of SDK. It notes the version in which the API was deprecated, as well as alternatives for the API, where applicable.
Class | Method | Version Deprecated | Alternative |
---|---|---|---|
TNDriveMotionClient |
startDrive and stopDrive synchronous methods |
1.4.2 | Instead, use asynchronous methods startDriveRequest and stopDriveRequest for driveMotionClient api |
TNDriveMotionService |
SDK initialize and shutdown methods without callback |
1.4.0 | Instead, use methods initialize and shutdown with callback |
TNDriveMotionAnalyticsClient |
asyncCall asynchronous method for all analytics apis |
1.4.0 | Instead, use asynchronous methods execute |
REMOVED APIS
The following APIs have been removed as of the versions specified. Support for these APIs has ended, and they are no longer available in the SDK.
APIs | Available Since | Version Removed | Description |
---|---|---|---|
TNAggregatedScoreCall |
1.0.0 | 3.0.0 | Coaching score is no longer supported and removed this API |
TNGetCumulativeScoreCall |
1.1.0 | 3.0.0 | Coaching score is no longer supported and removed this API |
DriveMotionDelegate |
1.0.0 | 3.0.0 | func onDriveScoreUpdated(_ event: TNDriveScoreEvent) throws removed from delegate methods |