Package com.telenav.sdk.drive.motion.api
Interface Call
-
-
Method Summary
Modifier and Type Method Description abstract Unit
execute(REQ request, Callback<RESP> callback)
Execute the call asynchronously. abstract Unit
execute(ConnectionMode connectionMode, REQ request, Callback<RESP> callback)
Execute the call asynchronously. abstract Unit
syncCall(REQ request, Callback<RESP> callback)
Execute the call synchronously. abstract Unit
asyncCall(REQ request, Callback<RESP> callback)
Execute the call asynchronously. abstract Unit
asyncCall(REQ request, Executor executor, Callback<RESP> callback)
Execute the call asynchronously and use provided executor to invoke the callback -
-
Method Detail
-
execute
abstract Unit execute(REQ request, Callback<RESP> callback)
Execute the call asynchronously. on.api.error.DriveMotionException Signals that some skd exception has occurred, see DriveMotionException for more information
-
execute
abstract Unit execute(ConnectionMode connectionMode, REQ request, Callback<RESP> callback)
Execute the call asynchronously. on.api.error.DriveMotionException Signals that some skd exception has occurred, see DriveMotionException for more information
-
syncCall
@Deprecated(message = "using execute instead") abstract Unit syncCall(REQ request, Callback<RESP> callback)
Execute the call synchronously.
-
asyncCall
@Deprecated(message = "using execute instead") abstract Unit asyncCall(REQ request, Callback<RESP> callback)
Execute the call asynchronously.
-
-
-
-