WebPage
@Document(name = WebPage.SCHEMA_NAME)
class WebPage : Thing
AppSearch document representing a WebPage entity.
See https://schema.org/WebPage for more context.
Summary
Nested types |
|---|
|
Builder for |
Constants |
|
|---|---|
const String! |
SCHEMA_NAME = "builtin:WebPage" |
Public functions |
|
|---|---|
ImageObject? |
Returns a favicon that represents the web page. |
String? |
Returns the source of how the web page was accessed in CamelCase. |
Inherited functions |
||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Constants
Public functions
getFavicon
fun getFavicon(): ImageObject?
Returns a favicon that represents the web page.
getSource
@ExperimentalAppSearchApi
fun getSource(): String?
Returns the source of how the web page was accessed in CamelCase. (e.g. Tab, CustomTab)