setEnabledFeatures method
- List<
Feature> features
Sets the SDK features
that will be enabled. The rest of the features will be disabled.
If all features are disabled the SDK will not make any network requests or collect data. Note that all features are enabled by default.
Implementation
Future<void> setEnabledFeatures(List<Feature> features) async {
List<String> featuresStrings = AirshipUtils.toFeatureStringList(features);
return await _module.channel.invokeMethod('privacyManager#setEnabledFeatures', featuresStrings);
}