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 |
Definition at line 11 of file FlurryConsent.h.
+ (FlurryConsent*) getConsent |
Use this api to get the consent information registered with the SDK.
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.
This api initializes the consent object. This object needs to be registered with the SDK.
isGDPRScope | YES states that GDPR laws apply The default value is NO |
consentStrings | NSDictionary* <NSString*,NSString*> => <consent sting format , consent string>. |
+ (BOOL) updateConsentInformation: | (FlurryConsent *) | consent |
Use this api to register/update the consent information with the SDK.
This api can be called anytime to pass the consent information to the SDK.
consent | The FlurryConsent object which contains the GDPR scope flag and the consent strings |