Function – shouldPromptBool

  • Function

    shouldPromptBool()

    Returns a boolean indicating if a prompt for consent should be made.


    Declaration

    Discussion

    You should call this when a call has been made to var didUpdateBlock to determine if the user should be prompted for consent. This function considers whether the user is subject to consent (EU/GDPR), if consent is granted, if a prompt should be re-made at this time, as well as a number of other factors.

     

    Sample Code:


    See Also

    Related Symbols var didUpdateBlock: KVAConsentDidUpdateBlock?

    A block which is called when there is an update to consent.

    var descriptionString

    A string containing a high level description concerning consent.

    var partnerArray

    An array of instances of class KVAPartner.

    class KVAConsent

    The class KVAConsent provides a means of managing user consent in relationship to GDPR.

  • Instance Method

    shouldPromptBool

    Returns a boolean indicating if a prompt for consent should be made.


    Declaration

    Discussion

    You should call this when a call has been made to property didUpdateBlock to determine if the user should be prompted for consent. This method considers whether the user is subject to consent (EU/GDPR), if consent is granted, if a prompt should be re-made at this time, as well as a number of other factors.

     

    Sample Code:


    See Also

    Related Symbols property didUpdateBlock

    A block which is called when there is an update to consent.

    property descriptionString

    A string containing a high level description concerning consent.

    property partnerArray

    An array of instances of class KVAPartner.

    class KVAConsent

    The class KVAConsent provides a means of managing user consent in relationship to GDPR.

 
 

Last Modified: Jul 12, 2018 at 1:55 pm