getLocationProvider

A method that builds a LocationProvider based on a request parameter. Note that your implementation of LocationProvider must set isMock extra flag to true in case your locations are not real. To set this flag, use:

Location.Builder#extra(Value.valueOf(hashMapOf(LocationExtraKeys.IS_MOCK to Value.valueOf(true))))

Return

LocationProvider implementation

Parameters

request

a request used to build a LocationProvider