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