Result

data class Result(val title: String, val body: String?, val url: String, val domain: String) : BaseResult

A search result.

Parameters

title

the page's title, shown first and large.

body

an optional snippet from the page shown as the result's body. If none was found or the search engine doesn't support them set to null.

url

the page's URL, will be opened when the result is tapped.

domain

the page's domain, shown in small text below the title.

Constructors

Link copied to clipboard
constructor(title: String, body: String?, url: String, domain: String)

Properties

Link copied to clipboard
val body: String?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val url: String