Class UserPrivacyOptions.Builder

    • Method Detail

      • withDataCollectionLevel

        public UserPrivacyOptions.Builder withDataCollectionLevel​(DataCollectionLevel dataCollectionLevel)
        Sets the data collection level specified by the user.

        The method call is ignored, when a null value is used for parameter dataCollectionLevel.

        Parameters:
        dataCollectionLevel - the specified data collection level from the user
        Returns:
        instance of this builder
      • withCrashReportingOptedIn

        public UserPrivacyOptions.Builder withCrashReportingOptedIn​(boolean crashReportingOptedIn)
        Sets the privacy setting for crash reporting.
        Parameters:
        crashReportingOptedIn - the opt-in value specified by the user
        Returns:
        instance of this builder
      • withCrashReplayOptedIn

        public UserPrivacyOptions.Builder withCrashReplayOptedIn​(boolean crashReplayOptedIn)
        Sets the privacy setting for the crash replay feature.
        Parameters:
        crashReplayOptedIn - the opt-in value specified by the user
        Returns:
        instance of this builder
        Since:
        8.217