Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IClient

The client actions interface.

Hierarchy

  • IClient

Implemented by

Properties

Readonly context

context: IContext

Methods

alert

  • alert(title: string, content: string): Promise<void>
  • Show an alert with Ok button.

    Parameters

    • title: string

      the dialog title

    • content: string

      the dialog content

    Returns Promise<void>

captureGeoLocation

confirm

  • confirm(title: string, content: string): Promise<boolean>
  • Show an alert with Ok and Cancel buttons.

    Parameters

    • title: string

      the dialog title

    • content: string

      the dialog content

    Returns Promise<boolean>

navigateBack

  • navigateBack(): Promise<void>
  • navigate back to the previous page in the app

    Returns Promise<void>

navigateTo

  • navigate to another page in the app

    Parameters

    Returns Promise<void>

openBrowser

  • open in-app browser

    Parameters

    Returns Promise<void>

openFilePicker

openURI

scanBarcode

showDialog

  • Show a dialog.

    Parameters

    Returns Promise<any>

showHUD

showModal

  • Show Addon Block As Modal

    Parameters

    • options: ModalOptions

      the modal options (Addon Block option)

    Returns Promise<any>

Generated using TypeDoc