build
abstract fun build(@Nullable request: LocationProviderRequest): Expected<LocationError, DeviceLocationProvider>
Build user defined DeviceLocationProvider with request.
Return
Returns an instance of a device location provider or a error if it fails to instantiate it.
Parameters
request
Settings for this instance of the client. When request is not specified then reasonable default will be applied. Unknown values in request should be omitted by implementation silently.