Android - How to programmatically check if Firebase Analytics is currently enabled?

Viewed 1205

When using the Android SDK for Firebase, how can one check if the Analytics is currently enabled/disabled?

I want to display a flag in app's UI if analytics is enabled, so this check must be done via an SDK's call.

I imagined I can easliy find an isEnabled() in SDK's API but could not find one.

1 Answers
Related