pjamm-plugin-background
TypeScript icon, indicating that this package has built-in type declarations

5.0.0 • Public • Published

pjamm-plugin-background

Background Service Plugin

Install

npm install pjamm-plugin-background
npx cap sync

API

taskBeforeExit()

taskBeforeExit() => Promise<any>

Returns: Promise<any>


taskFinish(...)

taskFinish(options: FinishOptions) => void
Param Type
options FinishOptions

enableBackgroundFetch()

enableBackgroundFetch() => void

enableBackgroundFetch()

enableBackgroundFetch() => void

disableBackgroundFetch()

disableBackgroundFetch() => void

sendBackgroundExitData()

sendBackgroundExitData() => Promise<any>

Returns: Promise<any>


sendBatteryData()

sendBatteryData() => Promise<any>

Returns: Promise<any>


Interfaces

FinishOptions

Prop Type
taskId string

Readme

Keywords

Package Sidebar

Install

npm i pjamm-plugin-background

Weekly Downloads

0

Version

5.0.0

License

MIT

Unpacked Size

32.9 kB

Total Files

27

Last publish

Collaborators

  • mkjewett