DataCollectionConsenting
public protocol DataCollectionConsenting : AnyObject
Undocumented
-
A Read-only property that holds the content of the user consent form
Declaration
Swift
var userConsentFormContent: UserConsentFormContent! { get }
-
This method is used to get the user consent.
Declaration
Swift
func getConsent(context: OnboardingContext) -> Bool
Parameters
context
Return Value
return the boolean value of the userconsent
-
This method is used to store and set the user consent.
Declaration
Swift
func setConsent(context: OnboardingContext, given: Bool)
Parameters
context
given
the consent given by the user