setEnabledFeatures

Sets the current enabled features, replacing any currently enabled features with the given set.

Any features that were previously enabled and not passed into the current set will be disabled.

Parameters

features

The features to set as enabled.