AdaptySDK 4.1.1
Loading...
Searching...
No Matches
AdaptySDK.AdaptyUIDialogConfiguration Class Referencesealed

What AdaptyUI.ShowDialog(AdaptySDK.AdaptyUIFlowView, AdaptySDK.AdaptyUIDialogConfiguration, System.Action<AdaptySDK.AdaptyUIDialogActionType, AdaptySDK.AdaptyError>) puts on the dialog. Only the default action title is required; a dialog without a secondary one has a single button. More...

Public Member Functions

override string ToString ()
 A description for logs and the debugger. The format is not part of the contract — read the members rather than parsing it.
AdaptyUIDialogConfiguration SetTitle (string title)
 Sets the title.
AdaptyUIDialogConfiguration SetContent (string content)
 Sets the content.
AdaptyUIDialogConfiguration SetDefaultActionTitle (string defaultActionTitle)
 Sets the default action title.
AdaptyUIDialogConfiguration SetSecondaryActionTitle (string secondaryActionTitle)
 Sets the secondary action title.

Public Attributes

string Title
 The title of the dialog.
string Content
 Descriptive text that provides additional details about the reason for the dialog.
string DefaultActionTitle
 The action title to display as part of the dialog. If you provide two actions, be sure the defaultAction cancels the operation and leaves things unchanged.
string SecondaryActionTitle
 The secondary action title to display as part of the dialog.

Detailed Description

What AdaptyUI.ShowDialog(AdaptySDK.AdaptyUIFlowView, AdaptySDK.AdaptyUIDialogConfiguration, System.Action<AdaptySDK.AdaptyUIDialogActionType, AdaptySDK.AdaptyError>) puts on the dialog. Only the default action title is required; a dialog without a secondary one has a single button.

Member Function Documentation

◆ SetContent()

AdaptyUIDialogConfiguration AdaptySDK.AdaptyUIDialogConfiguration.SetContent ( string content)

Sets the content.

Parameters
contentThe body text.

◆ SetDefaultActionTitle()

AdaptyUIDialogConfiguration AdaptySDK.AdaptyUIDialogConfiguration.SetDefaultActionTitle ( string defaultActionTitle)

Sets the default action title.

Parameters
defaultActionTitleThe label of the button reported as AdaptyUIDialogActionType.Primary.

◆ SetSecondaryActionTitle()

AdaptyUIDialogConfiguration AdaptySDK.AdaptyUIDialogConfiguration.SetSecondaryActionTitle ( string secondaryActionTitle)

Sets the secondary action title.

Parameters
secondaryActionTitleThe label of the button reported as AdaptyUIDialogActionType.Secondary. Leave it out for a one-button dialog.

◆ SetTitle()

AdaptyUIDialogConfiguration AdaptySDK.AdaptyUIDialogConfiguration.SetTitle ( string title)

Sets the title.

Parameters
titleThe dialog's title.

◆ ToString()

override string AdaptySDK.AdaptyUIDialogConfiguration.ToString ( )

A description for logs and the debugger. The format is not part of the contract — read the members rather than parsing it.

Member Data Documentation

◆ Content

string AdaptySDK.AdaptyUIDialogConfiguration.Content

Descriptive text that provides additional details about the reason for the dialog.

◆ DefaultActionTitle

string AdaptySDK.AdaptyUIDialogConfiguration.DefaultActionTitle

The action title to display as part of the dialog. If you provide two actions, be sure the defaultAction cancels the operation and leaves things unchanged.

◆ SecondaryActionTitle

string AdaptySDK.AdaptyUIDialogConfiguration.SecondaryActionTitle

The secondary action title to display as part of the dialog.

◆ Title

string AdaptySDK.AdaptyUIDialogConfiguration.Title

The title of the dialog.


The documentation for this class was generated from the following file: