[android-components](../../index.md) / [mozilla.components.feature.share](../index.md) / [RecentAppsStorage](index.md) / [getRecentAppsUpTo](./get-recent-apps-up-to.md)

# getRecentAppsUpTo

`fun getRecentAppsUpTo(limit: `[`Int`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)`): `[`List`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)`<`[`RecentApp`](../-recent-app/index.md)`>` [(source)](https://github.com/mozilla-mobile/android-components/blob/master/components/feature/share/src/main/java/mozilla/components/feature/share/RecentAppsStorage.kt#L44)

Get a descending ordered list of the most recent apps

### Parameters

`limit` -
* size of list
