18 lines
396 B
Swift
18 lines
396 B
Swift
//
|
|
// RecordPlayerServiceProtocol.swift
|
|
// AutoCatCore
|
|
//
|
|
// Created by Selim Mustafaev on 31.03.2025.
|
|
// Copyright © 2025 Selim Mustafaev. All rights reserved.
|
|
//
|
|
|
|
import Foundation
|
|
|
|
public protocol RecordPlayerServiceProtocol {
|
|
|
|
var currentPlayingId: String? { get }
|
|
|
|
func play(record: AudioRecordDto, onStop: ((AudioRecordDto, Error?) -> Void)?) throws
|
|
func pause()
|
|
}
|