0.0.1 • Published 8 months ago

ionic-uptime-plugin v0.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
8 months ago

uptime

This plugin provides the system uptime in milliseconds since boot, allowing developers to track how long a device has been running. This can be particularly useful for monitoring, diagnostics, or adding uptime information within an application.

Install

npm install ionic-uptime-plugin
npx cap sync

Supported Platforms

* Android
* iOS

API

echo(...)

echo(options: { value: string; }) => Promise<{ value: string; }>
ParamType
options{ value: string; }

Returns: Promise<{ value: string; }>


getUptime(...)

getUptime(options: { includeDeepSleep: boolean; }) => Promise<{ uptime: number; }>
ParamType
options{ includeDeepSleep: boolean; }

Returns: Promise<{ uptime: number; }>


Author

This plugin is made with ❤️ by Sunil Mishra

License

This project is licensed under the MIT License - see the LICENSE.md file for details.
0.0.1

8 months ago