[android-components](../../index.md) / [org.mozilla.telemetry.config](../index.md) / [TelemetryConfiguration](index.md) / [getSharedPreferences](./get-shared-preferences.md)

# getSharedPreferences

`open fun getSharedPreferences(): SharedPreferences` [(source)](https://github.com/mozilla-mobile/android-components/blob/master/components/service/telemetry/src/main/java/org/mozilla/telemetry/config/TelemetryConfiguration.java#L138)

Get shared preference for storing telemetry related data.

