googleDirectionLibrary / com.akexorcist.googledirection / DirectionCallback

DirectionCallback

interface DirectionCallback

Interface for the response from the direction request of the Google Direction API.

Since
1.0.0

Functions

onDirectionFailure

abstract fun onDirectionFailure(t: Throwable): Unit

Retrieve the response from direction request with error result.

onDirectionSuccess

abstract fun onDirectionSuccess(direction: Direction): Unit

Retrieve the response from direction request successfully.