DiscoverOptions

class DiscoverOptions(val limit: Int = 10, val language: IsoLanguageCode = defaultLocaleLanguage()) : Parcelable

Options, used for the Discover SDK requests.

See also

Constructors

Link copied to clipboard
fun DiscoverOptions(limit: Int = 10, language: IsoLanguageCode = defaultLocaleLanguage())

Functions

Link copied to clipboard
abstract fun describeContents(): Int
Link copied to clipboard
abstract fun writeToParcel(p0: Parcel, p1: Int)

Properties

Link copied to clipboard
val language: IsoLanguageCode

User’s language. This parameter controls the language of the text supplied in responses, and also affects result scoring, with results matching the user’s query in the requested language being preferred over results that match in another language.

Link copied to clipboard
val limit: Int = 10

Maximum number of results to return.