CrashReportCollectionConsent
public class CrashReportCollectionConsent : DataCollectionConsenting
Undocumented
-
Read-only content of the user consent form
Declaration
Swift
public let userConsentFormContent: UserConsentFormContent!
-
Initializer used to construct CrashReportCollectionConsent with some optional customization
Declaration
Swift
public init(version: String = "1.0", userConsentPagesContent: [UserConsentPageContent]? = nil)
Parameters
version
used for CrashReportCollectionConsent construction.
userConsentPagesContent
If the customized single/multi-page content for Crash Consent is desired, optionally submit them here.
-
method used to get the consent of the user
Declaration
Swift
public func getConsent(context: OnboardingContext) -> Bool
-
method used to take care of storing of the consent
Declaration
Swift
public func setConsent(context: OnboardingContext, given: Bool)