     case Best
 }
 
+private func < (lhs: LocationAccuracy, rhs: LocationAccuracy) -> Bool {
+    return lhs.rawValue < rhs.rawValue
+}
+
 /**
 Callback frequency setting. Lowest power consumption is achieved by combining LocationUpdateFrequency.ChangesOnly
  with LocationAccuracy.Coarse

    private var updateFrequency: LocationUpdateFrequency {
        let allUpdateFrequencies = allLocationListeners.map({ $0.request.updateFrequency })

        guard let value = allUpdateFrequencies.maxElement({ $0.rawValue < $1.rawValue }) else {
            return .ChangesOnly
        }


public enum LocationUpdateFrequency: Int {
    case ChangesOnly
    case Continuous
}

private func < (lhs: LocationUpdateFrequency, rhs: LocationUpdateFrequency) -> Bool {
    return lhs.rawValue < rhs.rawValue
}

public enum LocationAuthorization {
