DriveMotionMonitorClient
TNDriveMotionMonitorClient mainly provides some monitor functions for trip upload status. developers must obtain DriveMotionMonitorClient after initializing DriveMotion.
Get TNDriveMotionMonitorClient
1 2 3 4 5 |
|
1 2 3 4 5 |
|
Use TNDriveMotionMonitorClient
TNDriveMotionMonitorClient provides some monitor functions for trip upload status.
Get Upload Progress Request
the TNGetUploadProgressRequest
will get the trip upload progress.
Build Request
1 |
|
1 |
|
Create a Call and execute it
Callback is a closure accepting response and error parameters.
1 2 3 4 5 6 7 8 9 |
|
1 2 3 4 5 6 7 8 9 |
|
Get Upload Success Timestamp
the TNGetUploadSuccessTimestampRequest
will get trip upload success timestamp.
Build Request
1 |
|
1 |
|
Create a Call and execute it
Callback is a closure accepting response and error parameters.
1 2 3 4 5 6 7 8 9 |
|
1 2 3 4 5 6 7 8 9 |
|