LocationProviderFactory

An interface to build a location provider implementation based on a request. 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))))

Functions

Link copied to clipboard

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: