Data Store Helper
Types
Link copied to clipboard
data class BookmarkedData(val bookmarkedTime: Long, var id: Int?, val latestUpdatedTime: Long, val name: String, val url: String, val apiName: String, var type: TvType?, var posterUrl: String?, val year: Int?, val syncData: Map<String, String>? = null, var quality: SearchQuality? = null, var posterHeaders: Map<String, String>? = null, val plot: String? = null, val rating: Int? = null, val tags: List<String>? = null) : DataStoreHelper.LibrarySearchResponse
Link copied to clipboard
data class FavoritesData(val favoritesTime: Long, var id: Int?, val latestUpdatedTime: Long, val name: String, val url: String, val apiName: String, var type: TvType?, var posterUrl: String?, val year: Int?, val syncData: Map<String, String>? = null, var quality: SearchQuality? = null, var posterHeaders: Map<String, String>? = null, val plot: String? = null, val rating: Int? = null, val tags: List<String>? = null) : DataStoreHelper.LibrarySearchResponse
Link copied to clipboard
abstract class LibrarySearchResponse(var id: Int?, val latestUpdatedTime: Long, val name: String, val url: String, val apiName: String, var type: TvType?, var posterUrl: String?, val year: Int?, val syncData: Map<String, String>?, var quality: SearchQuality?, var posterHeaders: Map<String, String>?, val plot: String? = null, val rating: Int? = null, val tags: List<String>? = null) : SearchResponse
Used to display notifications on new episodes and posters in library.
Link copied to clipboard
data class ResumeWatchingResult(val name: String, val url: String, val apiName: String, var type: TvType? = null, var posterUrl: String?, val watchPos: DataStoreHelper.PosDur?, var id: Int?, val parentId: Int?, val episode: Int?, val season: Int?, val isFromDownload: Boolean, var quality: SearchQuality? = null, var posterHeaders: Map<String, String>? = null) : SearchResponse
Link copied to clipboard
data class SubscribedData(val subscribedTime: Long, val lastSeenEpisodeCount: Map<DubStatus, Int?>, var id: Int?, val latestUpdatedTime: Long, val name: String, val url: String, val apiName: String, var type: TvType?, var posterUrl: String?, val year: Int?, val syncData: Map<String, String>? = null, var quality: SearchQuality? = null, var posterHeaders: Map<String, String>? = null, val plot: String? = null, val rating: Int? = null, val tags: List<String>? = null) : DataStoreHelper.LibrarySearchResponse
Properties
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Get or set the current account homepage. Setting this does not automatically reload the homepage.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
A datastore wide account for future implementations of a multiple account system
Link copied to clipboard
Link copied to clipboard
Gets the current selected account (or default), may return null if context is null and the user is using the default account
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun updateSubscribedData(id: Int?, data: DataStoreHelper.SubscribedData?, episodeResponse: EpisodeResponse?)
Set new seen episodes and update time