Function – WillPrompt

  • Function

    willPrompt()

    A function which may be called to notify that a prompt for consent will be made.


    Declaration

    Discussion

    Optional. This method can be used if you want to ensure that the prompt for consent will not be made again, even when a subsequent call to function didPrompt(withDidGrantBoolNumber:) is never made, such as in the case of an unexpected termination.

    If you call function didPrompt(withDidGrantBoolNumber:) whenever the prompt is dismissed, even if the user did not give a response, then this method does not need to be called.

     

    Sample Code:


    See Also

    Related Symbols func didPrompt(withDidGrantBoolNumber:)

    A method to be called when there has been a prompt for consent.

    class KVAConsent

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

  • Instance Method

    willPrompt

    A method which may be called to notify that a prompt for consent will be made.


    Declaration

    Discussion

    Optional. This method can be used if you want to ensure that the prompt for consent will not be made again, even when a subsequent call to instance method didPromptWithDidGrantBoolNumber: is never made, such as in the case of an unexpected termination.

    If you call instance method didPromptWithDidGrantBoolNumber: whenever the prompt is dismissed, even if the user did not give a response, then this method does not need to be called.

     

    Sample Code:


    See Also

    Related Symbols – (void)didPromptWithDidGrantBoolNumber:

    A method to be called when there has been a prompt for consent.

    class KVAConsent

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

 
 

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