AutoCat/AutoCatCore/Services/LocationService/LocationServiceProtocol.swift

15 lines
383 B
Swift

//
// LocationServiceProtocol.swift
// AutoCatCore
//
// Created by Selim Mustafaev on 31.07.2024.
// Copyright © 2024 Selim Mustafaev. All rights reserved.
//
@MainActor
public protocol LocationServiceProtocol {
func getAddressForLocation(latitude: Double, longitude: Double) async throws -> String
func requestCurrentLocation() async throws -> VehicleEventDto
}