---
title: "offline.MTPackStats | Mobile sdk | Mobile sdk android | Android"
description: "MTPackStats"
---

> For AI agents: a documentation index is available at [/llms.txt](https://docs.maptiler.com/llms.txt). Markdown versions of all pages are available by appending .md to any URL.

# offline.MTPackStats

data class [MTPackStats](https://docs.maptiler.com/mobile-sdk/android/api/-map-tiler-s-d-k/com.maptiler.maptilersdk.offline/-m-t-pack-stats/)(val expectedSize: [Long](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html), val resourceCount: [Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html), val tilesPerSource: [Map](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.collections/-map/index.html)<[String](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html), [Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)\> = emptyMap())

Statistics about an offline map pack.

Members

## Constructors

[MTPackStats](https://docs.maptiler.com/mobile-sdk/android/api/-map-tiler-s-d-k/com.maptiler.maptilersdk.offline/-m-t-pack-stats/-m-t-pack-stats/)

constructor(expectedSize: [Long](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html), resourceCount: [Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html), tilesPerSource: [Map](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.collections/-map/index.html)<[String](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html), [Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)\> = emptyMap())

## Properties

[expectedSize](https://docs.maptiler.com/mobile-sdk/android/api/-map-tiler-s-d-k/com.maptiler.maptilersdk.offline/-m-t-pack-stats/expected-size/)

val [expectedSize](https://docs.maptiler.com/mobile-sdk/android/api/-map-tiler-s-d-k/com.maptiler.maptilersdk.offline/-m-t-pack-stats/expected-size/): [Long](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html)

Expected total size in bytes.

[resourceCount](https://docs.maptiler.com/mobile-sdk/android/api/-map-tiler-s-d-k/com.maptiler.maptilersdk.offline/-m-t-pack-stats/resource-count/)

val [resourceCount](https://docs.maptiler.com/mobile-sdk/android/api/-map-tiler-s-d-k/com.maptiler.maptilersdk.offline/-m-t-pack-stats/resource-count/): [Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)

Expected total number of resources (tiles, glyphs, sprites, style).

[tilesPerSource](https://docs.maptiler.com/mobile-sdk/android/api/-map-tiler-s-d-k/com.maptiler.maptilersdk.offline/-m-t-pack-stats/tiles-per-source/)

val [tilesPerSource](https://docs.maptiler.com/mobile-sdk/android/api/-map-tiler-s-d-k/com.maptiler.maptilersdk.offline/-m-t-pack-stats/tiles-per-source/): [Map](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.collections/-map/index.html)<[String](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html), [Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)\>

Expected number of tiles per source.
