-
public class SentryUserFeedbackForm.Builder
-
-
Constructor Summary
Constructors Constructor Description SentryUserFeedbackForm.Builder(Context context)Creates a builder for a SentryUserFeedbackForm that uses the default alert dialogtheme. SentryUserFeedbackForm.Builder(Context context, int themeResId)Creates a builder for a SentryUserFeedbackForm that uses an explicit theme resource. SentryUserFeedbackForm.Builder(Context context, SentryUserFeedbackForm.OptionsConfiguration configuration)Creates a builder for a SentryUserFeedbackForm that uses the default alert dialogtheme. SentryUserFeedbackForm.Builder(Context context, int themeResId, SentryUserFeedbackForm.OptionsConfiguration configuration)Creates a builder for a SentryUserFeedbackForm that uses an explicit theme resource.
-
Method Summary
Modifier and Type Method Description SentryUserFeedbackForm.Builderconfigurator(@Nullable() SentryFeedbackOptions.OptionsConfigurator configurator)Sets the configuration for the feedback options. SentryUserFeedbackForm.BuilderassociatedEventId(@Nullable() SentryId associatedEventId)Sets the associated event ID for the feedback. SentryUserFeedbackFormcreate()Builds a new SentryUserFeedbackForm with the specified context, theme, andconfiguration. -
-
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 contextthemeResId- 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 contextconfiguration- 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 contextthemeResId- 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 themeconfiguration- 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.
-
create
SentryUserFeedbackForm create()
Builds a new SentryUserFeedbackForm with the specified context, theme, andconfiguration.
-
-
-
-