17 lines
534 B
Kotlin
17 lines
534 B
Kotlin
package com.lagradost.cloudstream3.subtitles
|
|
|
|
import androidx.annotation.WorkerThread
|
|
import com.lagradost.cloudstream3.subtitles.AbstractSubtitleEntities.SubtitleEntity
|
|
import com.lagradost.cloudstream3.subtitles.AbstractSubtitleEntities.SubtitleSearch
|
|
|
|
interface AbstractSubProvider {
|
|
@WorkerThread
|
|
suspend fun search(query: SubtitleSearch): List<SubtitleEntity>? {
|
|
throw NotImplementedError()
|
|
}
|
|
|
|
@WorkerThread
|
|
suspend fun load(data: SubtitleEntity): String? {
|
|
throw NotImplementedError()
|
|
}
|
|
} |