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