setDataCollectionOptInEnabled
open fun setDataCollectionOptInEnabled(dataCollectionOptInEnabled: Boolean): AirshipConfigOptions.Builder
Deprecated
Use enabledFeatures instead.
Set the flag indicating whether data collection needs to be opted in with setDataCollectionEnabled. This flag will only take affect on first run. If previously not enabled, the device will still have data collection enabled until disabled with setDataCollectionEnabled.
Return
The config options builder.
Parameters
dataCollectionOptInEnabled
The flag indicating whether data collection needs to be opted in.