AutoCat/AutoCatCore/Services/VehicleRecordService/VehicleRecordServiceProtocol.swift
2025-03-16 22:23:03 +03:00

18 lines
423 B
Swift

//
// VehicleRecordServiceProtocol.swift
// AutoCatCore
//
// Created by Selim Mustafaev on 16.03.2025.
// Copyright © 2025 Selim Mustafaev. All rights reserved.
//
import Foundation
public protocol VehicleRecordServiceProtocol: Sendable {
func requestPermissionsIfNeeded() async
func startRecording() async throws
func stopRecording() async throws -> AudioRecordDto
func cancelRecording() async
}