Class AlertSettings.Builder
-
- All Implemented Interfaces:
public final class AlertSettings.Builder
-
-
Constructor Summary
Constructors Constructor Description AlertSettings.Builder()
-
Method Summary
Modifier and Type Method Description final AlertSettings.Buildertitle(String title)Sets the title of the alert. final AlertSettings.Buildermessage(String message)Sets the message of the alert. final AlertSettings.BuilderpositiveButtonText(String positiveButtonText)Sets the text for the positive button. final AlertSettings.BuildernegativeButtonText(String negativeButtonText)Sets the text for the negative button. final AlertSettingsbuild()-
-
Method Detail
-
title
final AlertSettings.Builder title(String title)
Sets the title of the alert.
- Parameters:
title- the title of the alert
-
message
final AlertSettings.Builder message(String message)
Sets the message of the alert.
- Parameters:
message- the message of the alert
-
positiveButtonText
final AlertSettings.Builder positiveButtonText(String positiveButtonText)
Sets the text for the positive button.
- Parameters:
positiveButtonText- the text for the positive button
-
negativeButtonText
final AlertSettings.Builder negativeButtonText(String negativeButtonText)
Sets the text for the negative button.
- Parameters:
negativeButtonText- the text for the negative button
-
build
final AlertSettings build()
-
-
-
-