-
@Deprecated() public class SentryUserFeedbackDialog.Builder extends SentryUserFeedbackForm.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 with a configuration. SentryUserFeedbackDialog.Builder(Context context, int themeResId, SentryUserFeedbackDialog.OptionsConfiguration configuration)Creates a builder for a SentryUserFeedbackDialog with a theme and configuration.
-
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 SentryUserFeedbackForm 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
-
SentryUserFeedbackDialog.Builder
SentryUserFeedbackDialog.Builder(Context context, SentryUserFeedbackDialog.OptionsConfiguration configuration)
Creates a builder for a SentryUserFeedbackDialog with a configuration.- Parameters:
context- the parent contextconfiguration- the configuration for the feedback options
-
SentryUserFeedbackDialog.Builder
SentryUserFeedbackDialog.Builder(Context context, int themeResId, SentryUserFeedbackDialog.OptionsConfiguration configuration)
Creates a builder for a SentryUserFeedbackDialog with a theme and configuration.- Parameters:
context- the parent contextthemeResId- the resource ID of the themeconfiguration- the configuration for the feedback options
-
-
Method Detail
-
configurator
@Deprecated() 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
@Deprecated() 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
@Deprecated() SentryUserFeedbackDialog create()
Builds a new SentryUserFeedbackForm with the specified context, theme, andconfiguration.
-
-
-
-