load-thumbnail.md 607 Bytes
Newer Older
MickeyMoz's avatar
MickeyMoz committed
1
2
3
4
[android-components](../../index.md) / [mozilla.components.browser.thumbnails.storage](../index.md) / [ThumbnailStorage](index.md) / [loadThumbnail](./load-thumbnail.md)

# loadThumbnail

MickeyMoz's avatar
MickeyMoz committed
5
`fun loadThumbnail(sessionIdOrUrl: `[`String`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`): Deferred<<ERROR CLASS>?>` [(source)](https://github.com/mozilla-mobile/android-components/blob/master/components/browser/thumbnails/src/main/java/mozilla/components/browser/thumbnails/storage/ThumbnailStorage.kt#L48)
MickeyMoz's avatar
MickeyMoz committed
6
7
8

Asynchronously loads a thumbnail [Bitmap](#) for the given session ID or url.