SlyceGDPRComplianceManager Class Reference
Inherits from | NSObject |
---|---|
Declared in | SlyceGDPRComplianceManager.h |
privacyPolicy
A reference to the SlycePrivacyPolicy
object which contains the GDPR terms for Slyce.
@property (nonatomic, strong, nullable, readonly) SlycePrivacyPolicy *privacyPolicy
Discussion
This property is only available after Slyce has been opened. @default NO
Declared In
SlyceGDPRComplianceManager.h
– setUserIdentifier:
The identifier representing the user in the host application.
- (void)setUserIdentifier:(NSString *)userIdentifier
Discussion
The host application must set the user identifier to enable cross-device compliance with GDPR.
Declared In
SlyceGDPRComplianceManager.h
– setUserConsentedToPrivacyPolicy:
Informs Slyce that a user has accepted the terms of the given SlycePrivacyPolicy
- (void)setUserConsentedToPrivacyPolicy:(SlycePrivacyPolicy *)privacyPolicy
Parameters
privacyPolicy |
the |
---|
Discussion
The SlycePrivacyPolicy
can be obtained from an instance of SlyceGDPRComplianceManager
.
Declared In
SlyceGDPRComplianceManager.h
– optOutAndForgetUser:
Tells Slyce to forget the user.
- (void)optOutAndForgetUser:(void ( ^ ) ( NSError *_Nullable ))completion
Parameters
completion |
A completion block that informs if the request to forget the user was received successfully, an error is passed when the request fails. If a request fails, you must prompt the user to run the request again. |
---|
Discussion
Tells Slyce to forget the user and opt-out of privacy policy so they will be prompted to opt-in next time they utilize Slyce
Declared In
SlyceGDPRComplianceManager.h
– removeServerData:
Remove all data on Slyce servers owned by the current user. Does not reset GDPR or privacy policy consents.
- (void)removeServerData:(void ( ^ ) ( NSError *_Nullable ))completion
Parameters
completion |
A completion block that informs if the request to remove server data was received successfully, an error is passed when the request fails. If a request fails, you must prompt the user to run the request again. |
---|
Declared In
SlyceGDPRComplianceManager.h