LocationValidator

public protocol LocationValidator

LocationValidator defines interface for checking if the location valid or not.

  • Validate location.

    Declaration

    Swift

    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