Hoster

constructor(hosterUrl: String = "", hosterName: String = "", videoList: List<Video>? = null, internalData: String = "", lazy: Boolean = false, memo: JsonObject = JsonObject(emptyMap()))(source)

Parameters

hosterUrl

The url of the hoster

hosterName

The display name of the hoster

videoList

If the list of video's can be constructed without additional network requests, set the videoList to avoid calling getVideoList on the hoster

lazy

Specify a hoster as lazy, which means that the hoster won't load until the user clicks on it

memo

Extra metadata associated with the hoster. The JSON object is not visible to users and intended for internal or source-specific purposes. Apps may define their own namespaced keys (e.g., "aniyomi.*") for sources to populate.