@interface UAPrivacyManager : NSObject
class UAPrivacyManager : NSObject
The privacy manager allow enabling/disabling features in the SDK.
The SDK will not make any network requests or collect data if all features our disabled, with
a few exceptions when going from enabled -> disabled. To have the SDK opt-out of all features on startup,
set the default enabled features in the AirshipConfig to UAFeaturesNone, or in the
airshipconfig.plist file with
enabledFeatures = none.
If any feature is enabled, the SDK will collect and send the following data:
- Channel ID
- Opt in state (push and notifications)
- SDK version
- Accengage Device ID (Accengage module for migration)
Checks if any feature is enabled.
func isAnyFeatureEnabled() -> Bool
True if any feature is enabled, otherwise false.