Package 

Class SentryUserFeedbackForm.Builder

    • Constructor Detail

      • SentryUserFeedbackForm.Builder

        SentryUserFeedbackForm.Builder(Context context)
        Creates a builder for a SentryUserFeedbackForm that uses the default alert dialogtheme.
        Parameters:
        context - the parent context
      • SentryUserFeedbackForm.Builder

        SentryUserFeedbackForm.Builder(Context context, int themeResId)
        Creates a builder for a SentryUserFeedbackForm that uses an explicit theme resource.
        Parameters:
        context - the parent context
        themeResId - the resource ID of the theme against which to inflate this dialog, or{@code 0} to use the parent {@code context}'s default alert dialog theme
      • SentryUserFeedbackForm.Builder

        SentryUserFeedbackForm.Builder(Context context, SentryUserFeedbackForm.OptionsConfiguration configuration)
        Creates a builder for a SentryUserFeedbackForm that uses the default alert dialogtheme.
        Parameters:
        context - the parent context
        configuration - the configuration for the feedback options, can be {@code null} to usethe global feedback options.
      • SentryUserFeedbackForm.Builder

        SentryUserFeedbackForm.Builder(Context context, int themeResId, SentryUserFeedbackForm.OptionsConfiguration configuration)
        Creates a builder for a SentryUserFeedbackForm that uses an explicit theme resource.
        Parameters:
        context - the parent context
        themeResId - the resource ID of the theme against which to inflate this dialog, or{@code 0} to use the parent {@code context}'s default alert dialog theme
        configuration - the configuration for the feedback options, can be {@code null} to usethe global feedback options.
    • Method Detail

      • configurator

         SentryUserFeedbackForm.Builder configurator(@Nullable() SentryFeedbackOptions.OptionsConfigurator configurator)

        Sets the configuration for the feedback options.

        Parameters:
        configurator - the configuration for the feedback options, can be {@code null} to usethe global feedback options.
      • associatedEventId

         SentryUserFeedbackForm.Builder associatedEventId(@Nullable() SentryId associatedEventId)

        Sets the associated event ID for the feedback.

        Parameters:
        associatedEventId - the associated event ID for the feedback, can be {@code null} toavoid associating the feedback to an event.