5.0.0 • Published 11 months ago
pjamm-plugin-background v5.0.0
pjamm-plugin-background
Background Service Plugin
Install
npm install pjamm-plugin-background
npx cap sync
API
taskBeforeExit()
taskFinish(...)
enableBackgroundFetch()
enableBackgroundFetch()
disableBackgroundFetch()
sendBackgroundExitData()
sendBatteryData()
- Interfaces
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 |
5.0.0
11 months ago
0.4.0
11 months ago
0.3.1
2 years ago
0.3.0
2 years ago
0.2.8
3 years ago
0.2.7
3 years ago
0.2.6
3 years ago
0.2.5
3 years ago
0.2.4
3 years ago
0.2.1
3 years ago
0.2.0
3 years ago
0.2.3
3 years ago
0.2.2
3 years ago
0.1.5
3 years ago
0.1.4
3 years ago
0.1.2
3 years ago
0.1.0
3 years ago
0.1.1
3 years ago
0.0.5
3 years ago
0.0.4
3 years ago
0.0.3
3 years ago
0.0.2
3 years ago
0.0.1
3 years ago