GMBLPrivacyManager Class Reference

Inherits from NSObject
Declared in GMBLPrivacyManager.h

Overview

Provides methods for managing a user’s privacy, e.g. consent requirement(s) and opt-ins for protected features and functionality

+ gdprConsentRequirement

Returns whether the user must give consent to the Gimbal SDK to process location information in accordance with the GDPR. If the SDK is running in a country subject to the GDPR, this will indicate that the user is GMBLGDPRConsentRequired to give consent for the SDK to operate fully. If not running in these countries, consent is GMBLGDPRConsentNotRequired. If the SDK has not yet registered with the Gimbal platform, the result is GMBLGDPRConsentRequirementUnknown.

+ (GDPRConsentRequirement)gdprConsentRequirement

Return Value

a GdprConsentRequirement indicating whether the user must give consent to the SDK to operate in countries subject to the GDPR.

Discussion

Returns whether the user must give consent to the Gimbal SDK to process location information in accordance with the GDPR. If the SDK is running in a country subject to the GDPR, this will indicate that the user is GMBLGDPRConsentRequired to give consent for the SDK to operate fully. If not running in these countries, consent is GMBLGDPRConsentNotRequired. If the SDK has not yet registered with the Gimbal platform, the result is GMBLGDPRConsentRequirementUnknown.

Declared In

GMBLPrivacyManager.h

+ setUserConsentFor:toState:

Informs the SDK of the user’s consent for the specified feature type

+ (void)setUserConsentFor:(GMBLConsentType)consentType toState:(GMBLConsentState)consentState

Parameters

consentType

the SDK feature or functionality to consent to

consentState

whether consent is granted or refused

Discussion

Informs the SDK of the user’s consent for the specified feature type

Declared In

GMBLPrivacyManager.h

+ userConsentFor:

Returns the user’s current consent value for the specified feature type. If a consent value was not previously set for the feature type, GMBLConsentUnknown is returned.

+ (GMBLConsentState)userConsentFor:(GMBLConsentType)consentType

Parameters

consentType

the SDK feature or functionality to consent to

Return Value

whether consent was previously granted or refused

Discussion

Returns the user’s current consent value for the specified feature type. If a consent value was not previously set for the feature type, GMBLConsentUnknown is returned.

Declared In

GMBLPrivacyManager.h