setDataCollectionOptInEnabled
open fun setDataCollectionOptInEnabled(dataCollectionOptInEnabled: Boolean): AirshipConfigOptions.Builder
Deprecated
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.
Deprecated
Use enabledFeatures instead.
Parameters
dataCollectionOptInEnabled
The flag indicating whether data collection needs to be opted in.