/*
 * F7cloud Talk - Android Client
 *
 * SPDX-FileCopyrightText: 2022 Nextcloud GmbH
 * SPDX-FileCopyrightText: 2022 Álvaro Brey <alvaro@alvarobrey.com>
 * SPDX-License-Identifier: GPL-3.0-or-later
 */
package ru.f7cloud.talk.test.fakes

import ru.f7cloud.talk.models.domain.StartCallRecordingModel
import ru.f7cloud.talk.models.domain.StopCallRecordingModel
import ru.f7cloud.talk.repositories.callrecording.CallRecordingRepository
import io.reactivex.Observable

class FakeCallRecordingRepository : CallRecordingRepository {

    override fun startRecording(credentials: String?, url: String, roomToken: String) =
        Observable.just(StartCallRecordingModel(true))

    override fun stopRecording(credentials: String?, url: String, roomToken: String) =
        Observable.just(StopCallRecordingModel(true))
}
