[android-components](../../index.md) / [mozilla.components.concept.storage](../index.md) / [TopFrecentSiteInfo](./index.md)

# TopFrecentSiteInfo

`data class TopFrecentSiteInfo` [(source)](https://github.com/mozilla-mobile/android-components/blob/master/components/concept/storage/src/main/java/mozilla/components/concept/storage/HistoryStorage.kt#L163)

Information about a top frecent site. This represents a most frequently visited site.

### Constructors

| Name | Summary |
|---|---|
| [&lt;init&gt;](-init-.md) | `TopFrecentSiteInfo(url: `[`String`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`, title: `[`String`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`?)`<br>Information about a top frecent site. This represents a most frequently visited site. |

### Properties

| Name | Summary |
|---|---|
| [title](title.md) | `val title: `[`String`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`?`<br>The title of the page that was visited, if known. |
| [url](url.md) | `val url: `[`String`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)<br>The URL of the page that was visited. |

### Extension Functions

| Name | Summary |
|---|---|
| [loadResourceAsString](../../mozilla.components.support.test.file/kotlin.-any/load-resource-as-string.md) | `fun `[`Any`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html)`.loadResourceAsString(path: `[`String`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`): `[`String`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)<br>Loads a file from the resources folder and returns its content as a string object. |
| [toTopSite](../../mozilla.components.feature.top.sites.ext/to-top-site.md) | `fun `[`TopFrecentSiteInfo`](./index.md)`.toTopSite(): `[`TopSite`](../../mozilla.components.feature.top.sites/-top-site/index.md)<br>Returns a [TopSite](../../mozilla.components.feature.top.sites/-top-site/index.md) for the given [TopFrecentSiteInfo](./index.md). |
