Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IDialogBuilder

A class to build a dialog.

api-version

1

user

Hierarchy

  • IDialogBuilder

Index

Methods

  • Sets whether this dialog is canceled when touched outside the dialog's bounds. If user close a dialog via touched outside the dialog's bounds, then OnCancelListener will be called.

    api-version

    1

    user

    Parameters

    • cancelable: boolean

      Whether the dialog should be canceled when touched outside the dialog's bounds.

    Returns IDialogBuilder

  • Sets a close button in the dialog. The button is shown at top right corner in the dialog. If user close a dialog via this button, then OnCancelListener will be called.

    api-version

    1

    user

    Parameters

    • enabled: boolean

      Set whether the close button is enabled or not.

    Returns IDialogBuilder

  • setDetailMessage(text: string, collapsible: boolean, expanded: boolean): IDialogBuilder
  • Set the detail message for this dialog.

    api-version

    1

    user

    Parameters

    • text: string

      A text to display in the detail content.

    • collapsible: boolean

      Set as collapsible a detail message view.

    • expanded: boolean

      Set as expand a detail message view. It works when you set {@link collapsible} as true.

    Returns IDialogBuilder

Generated using TypeDoc