[android-components](../../index.md) / [mozilla.components.service.glean](../index.md) / [Glean](index.md) / [getUploadEnabled](./get-upload-enabled.md)

# getUploadEnabled

`fun getUploadEnabled(): `[`Boolean`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html) [(source)](https://github.com/mozilla-mobile/android-components/blob/master/components/service/glean/src/main/java/mozilla/components/service/glean/Glean.kt#L77)

Get whether or not Glean is allowed to record and upload data.

