Protocols

The following protocols are available globally.

  • Undocumented

    See more

    Declaration

    Swift

    @objc
    public protocol TNDriveMotionAlertDelegate
  • TNDriveMotionAnalyticsClient mainly provides some analysis functions for trip data. To get TNDriveMotionAnalyticsClient instance, use TNDriveMotionService.getDriveMotionAnalyticsClient().

    See more

    Declaration

    Swift

    @objc
    public protocol TNDriveMotionAnalyticsClient : NSObjectProtocol
  • In applications that use DriveMotionSDK, TNDriveMotionClient is the only way to use DriveMotion to expose capabilities. To get TNDriveMotionClient instance, use {@link TNDriveMotionService#getDriveMotionClient()} .

    See more

    Declaration

    Swift

    @objc
    public protocol TNDriveMotionClient : NSObjectProtocol
  • This delegate is for users to receive trip changes through broadcast.

    See more

    Declaration

    Swift

    @objc
    public protocol TNDriveMotionDelegate
  • TNDriveMotionMonitorClient mainly provides some monitor functions for trip upload. To get TNDriveMotionMonitorClient instance, use TNDriveMotionService.getDriveMotionMonitorClient().

    See more

    Declaration

    Swift

    @objc
    public protocol TNDriveMotionMonitorClient : NSObjectProtocol
  • Undocumented

    See more

    Declaration

    Swift

    @objc
    public protocol TNDriveMotionMonitorDelegate
  • TNDriveMotionUsersClient mainly provides functional for switching, receiving contents, also for delete user data. To get TNDriveMotionUsersClient instance, use TNDriveMotionUsersClient.getDriveMotionUsersClient().

    See more

    Declaration

    Swift

    @objc
    public protocol TNDriveMotionUsersClient : NSObjectProtocol
  • Undocumented

    See more

    Declaration

    Swift

    @objc
    public protocol TNEnrollmentClient : NSObjectProtocol
  • The base response object.

    See more

    Declaration

    Swift

    @objc
    public protocol TNDriveMotionResponse : NSObjectProtocol