18 lines
414 B
Swift
18 lines
414 B
Swift
//
|
|
// AudioRecordServiceProtocol.swift
|
|
// AutoCatCore
|
|
//
|
|
// Created by Selim Mustafaev on 11.03.2025.
|
|
// Copyright © 2025 Selim Mustafaev. All rights reserved.
|
|
//
|
|
|
|
import Foundation
|
|
|
|
public protocol AudioRecordServiceProtocol {
|
|
|
|
func requestPermissions() async -> Bool
|
|
func startRecording(to url: URL) async throws
|
|
func stopRecording()
|
|
func recognizeText(from url: URL) async -> String?
|
|
}
|