set User Defined Device Location Provider Factory
Set factory to build user defined DeviceLocationProvider. When set, this factory will intercept all getDeviceLocationProvider calls to provide an instance of a DeviceLocationProvider
.
When null
is set, factory resets to the default one.
Parameters
factory
to build DeviceLocationProvider