DefaultLocationValidator
public class DefaultLocationValidator : LocationValidator
DefaultLocationValidator is default implementation of LocationValidator.
-
Init method to create default location validator object.
Declaration
Swift
public init()
-
Validate location.
Declaration
Swift
public func checkLocation(_ location: CLLocation, provider: LocationEngineProviderType) -> GPSStatus
Parameters
location
The location to be checked.
provider
The source that provides the location.
Return Value
Indicates if GPS is fixed or not as a result of
LocationValidator