open class DirectionTask
Direction request task that given from execution of DirectionRequest. For handle the request task when the request has started.
Since
1.0.0
DirectionTask(directionCall: Call<Direction>) |
open fun cancel(): Unit
Cancel the task of direction request if currently running. |
|
open fun isFinished(): Boolean
Check the direction request task completion. |
|
open fun toRetrofitCall(): Call<Direction>
Get the Retrofit's call object of the direction request. |