open fun transitRoutingPreference(@Nullable transitRoutingPreference: String): DirectionRequest
Specifies preferences for transit routes. Using this parameter, you can bias the options returned, rather than accepting the default best route chosen by the API.
transitRoutingPreference - the transit routing preference value from @see com.akexorcist.googledirection.constant.TransitRoutingPreference.
Return
This direction request object.
Since
1.2.1