Interface Notification

Index

Methods

Methods

public alert(message: string, alertCallback: Function, title?: string, buttonName?: string)

Parameters

  • message: string
  • alertCallback: Function
  • title?: string optional
  • buttonName?: string optional

public beep(times: number)

Parameters

  • times: number

public confirm(message: string, confirmCallback: Function, title?: string, buttonLabels?: string)

Parameters

  • message: string
  • confirmCallback: Function
  • title?: string optional
  • buttonLabels?: string optional

public confirm(message: string, confirmCallback: Function, title?: string, buttonLabels?: Array<string>)

Parameters

  • message: string
  • confirmCallback: Function
  • title?: string optional
  • buttonLabels?: Array<string> optional

public vibrate(milliseconds: number)

Parameters

  • milliseconds: number