googleDirectionLibrary / com.akexorcist.googledirection.request / DirectionTask

DirectionTask

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

Constructors

<init>

DirectionTask(directionCall: Call<Direction>)

Functions

cancel

open fun cancel(): Unit

Cancel the task of direction request if currently running.

isFinished

open fun isFinished(): Boolean

Check the direction request task completion.

toRetrofitCall

open fun toRetrofitCall(): Call<Direction>

Get the Retrofit's call object of the direction request.