Options
All
  • Public
  • Public/Protected
  • All
Menu

Module dialogs

Index

Type aliases

Dialog

Dialog: android.app.Dialog & DialogExt

DialogType

DialogType: "overlay" | "app"

Functions

buildDialog

showAlertDialog

  • Parameters

    Returns Promise<void>

showConfirmDialog

  • showConfirmDialog(title: string, properties?: DialogProperties): Promise<boolean>
  • Parameters

    Returns Promise<boolean>

showDialog

showInputDialog

  • showInputDialog(title: string, prefill?: string, properties?: DialogProperties): Promise<string | null>
  • Parameters

    Returns Promise<string | null>

showMultiChoiceDialog

  • showMultiChoiceDialog(title: string, items: string[], initialSelectedIndices?: number[], properties?: DialogProperties): Promise<number[] | null>
  • Parameters

    • title: string
    • items: string[]
    • Optional initialSelectedIndices: number[]
    • Optional properties: DialogProperties

    Returns Promise<number[] | null>

showSelectDialog

  • showSelectDialog(title: string, items: string[], properties?: DialogProperties): Promise<number>
  • Parameters

    Returns Promise<number>

showSingleChoiceDialog

  • showSingleChoiceDialog(title: string, items: string[], initialSelectedIndex?: number, properties?: DialogProperties): Promise<number>
  • Parameters

    • title: string
    • items: string[]
    • Optional initialSelectedIndex: number
    • Optional properties: DialogProperties

    Returns Promise<number>

Generated using TypeDoc