[android-components](../../index.md) / [org.mozilla.telemetry.config](../index.md) / [TelemetryConfiguration](index.md) / [getDataDirectory](./get-data-directory.md)

# getDataDirectory

`open fun getDataDirectory(): `[`File`](https://developer.android.com/reference/java/io/File.html) [(source)](https://github.com/mozilla-mobile/android-components/blob/master/components/service/telemetry/src/main/java/org/mozilla/telemetry/config/TelemetryConfiguration.java#L115)

Get the root directory where telemetry components should store data.

