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

# getDataDirectory

`open fun getDataDirectory(): `[`File`](http://docs.oracle.com/javase/7/docs/api/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.

