Options
All
  • Public
  • Public/Protected
  • All
Menu

Index

Functions

  • startVibration(duration: number): void
  • Vibrate the mobile device.

    Parameters

    • duration: number

      Value in milliseconds.

    Returns void

  • startVibrationPattern(intervals: string): void
  • Vibrate the mobile device in a pattern. You can add multiple comma separated values where every second one determines the silence between vibrations. Example: "200,1000,500" (200ms vibration, 1sec silence, 500ms vibration)

    Parameters

    • intervals: string

      Comma separated list of values (in ms).

    Returns void

  • stopVibration(): void
  • Stop the current vibration on the mobile device.

    Returns void

Generated using TypeDoc