getAnimeSeasonUpdate

abstract suspend fun getAnimeSeasonUpdate(anime: SAnime, seasons: List<SAnime>, fetchDetails: Boolean, fetchSeasons: Boolean): SAnimeSeasonUpdate(source)

Fetches updated information for an anime.

Depending on the provided flags or source availability, this may include updated anime metadata, available seasons, or both.

If a value is not requested, the existing provided value can be returned as-is. The host app may apply any returned updates regardless of the flags, so care should be taken to only return accurate and intentional changes.

Since

extensions-lib 17

Parameters

anime

The anime to fetch updates for.

seasons

Existing seasons of the anime.

fetchDetails

Whether to fetch updated anime details.

fetchSeasons

Whether to fetch available seasons.