setDataCollectionOptInEnabled

Deprecated

Use {@link #enabledFeatures} instead.

Set the flag indicating whether data collection needs to be opted in with Airship.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 Airship.setDataCollectionEnabled.

Return

The config options builder.

Parameters

dataCollectionOptInEnabled

The flag indicating whether data collection needs to be opted in.