SubtitleCacheDataSourceImpl

class SubtitleCacheDataSourceImpl @Inject constructor(context: Context) : SubtitleCacheDataSource

Constructors

Link copied to clipboard
@Inject
constructor(context: Context)

Functions

Link copied to clipboard
open suspend override fun getSubtitleFilePathIfExist(fileName: String): String?
Link copied to clipboard
open suspend override fun saveSubtitle(fileName: String, inputStream: InputStream): String?

return the absolute path of the subtitle file