Options
All
  • Public
  • Public/Protected
  • All
Menu

Index

Functions

  • startVibration(duration: number): 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

Generated using TypeDoc