open class GoogleDirectionConfiguration
Configuration class for the Google Direction Library.
Since
1.0.0
GoogleDirectionConfiguration()
Configuration class for the Google Direction Library. |
open fun getCustomClient(): OkHttpClient
Get the custom OkHttpClient |
|
open static fun getInstance(): GoogleDirectionConfiguration
Call the class with singleton pattern |
|
open fun isLogEnabled(): Boolean
Is the API request logging enable or disable |
|
open fun setCustomClient(customClient: OkHttpClient): Unit
Set the custom OkHttpClient to replace the default client in this library |
|
open fun setLogEnabled(logEnabled: Boolean): Unit
Enable or disable the API request logging (Powered by OkHttp Logging Interceptor) |