setAutomaticDataCollectionEnabled

actual fun setAutomaticDataCollectionEnabled(isAutomaticCollectionEnabled: Boolean?)(source)

Like setting isAutomaticDataCollectionEnabled, where null clears the override on Android, so that the manifest and then the Firebase-wide setting apply again. The iOS SDK has no override to clear: on Apple platforms null leaves the setting unchanged.

actual fun setAutomaticDataCollectionEnabled(isAutomaticCollectionEnabled: Boolean?)(source)

null leaves the setting unchanged: the iOS SDK has no override to clear.

expect fun setAutomaticDataCollectionEnabled(isAutomaticCollectionEnabled: Boolean?)(source)

Like setting isAutomaticDataCollectionEnabled, where null clears the override on Android, so that the manifest and then the Firebase-wide setting apply again. The iOS SDK has no override to clear: on Apple platforms null leaves the setting unchanged.

actual fun setAutomaticDataCollectionEnabled(isAutomaticCollectionEnabled: Boolean?)(source)

Kept in memory; null restores the default, true.