/capacitor-simplebackgroundtimer

A Simple Background Timer for Capacitor 3

Primary LanguageJava

capacitor-simplebackgroundtimer

A simple background timer for Capacitor

Install

npm install capacitor-simplebackgroundtimer
npx cap sync

API

startInterval(...)

startInterval(options: { interval: number; }) => Promise<{ value: boolean; }>
Param Type
options { interval: number; }

Returns: Promise<{ value: boolean; }>


stopInterval(...)

stopInterval(options: Record<string, never>) => Promise<{ value: boolean; }>
Param Type
options { [x: string]: never; }

Returns: Promise<{ value: boolean; }>