iOS SDK  12.0.0
 All Classes Functions Enumerations Enumerator Groups Pages
FlurryConsent Class Reference

Inherits NSObject.

Instance Methods

(instancetype) - initWithGDPRScope:andConsentStrings:
 Use this api to initialize the FlurryConsent object. More...
 

Class Methods

(BOOL) + updateConsentInformation:
 Use this api to register/update the consent information with the SDK. More...
 
(FlurryConsent *) + getConsent
 Use this api to get the consent information registered with the SDK. More...
 

Properties

BOOL isGDPRScope
 
NSDictionary * consentStrings
 

Detailed Description

Definition at line 11 of file FlurryConsent.h.

Method Documentation

+ (FlurryConsent*) getConsent

Use this api to get the consent information registered with the SDK.

Since
8.5.0

This object is immutable. To update the consent a new FlurryConsent object must be created and passed on to the SDK

- (instancetype) initWithGDPRScope: (BOOL)  isGDPRScope

Use this api to initialize the FlurryConsent object.

Since
8.5.0

This api initializes the consent object. This object needs to be registered with the SDK.

Parameters
isGDPRScopeYES states that GDPR laws apply The default value is NO
consentStringsNSDictionary* <NSString*,NSString*> => <consent sting format , consent string>.
Note
The values for ConsentStrings should be of correct base64url-encoded representation.
ConsentStrings must be provided if "isGDPRScope" is set to YES for the consent information to be valid
+ (BOOL) updateConsentInformation: (FlurryConsent *)  consent

Use this api to register/update the consent information with the SDK.

Since
8.5.0

This api can be called anytime to pass the consent information to the SDK.

See Also
- withConsent: (FlurrySessionBuilder) to register the consent before starting Flurry.
FlurryConsent::initWithGDPRScope:andConsentStrings to create the FlurryConsent object
Parameters
consentThe FlurryConsent object which contains the GDPR scope flag and the consent strings
Returns
indicates if the consent information provided is valid or not

The documentation for this class was generated from the following file: