capacitor-real-time
TypeScript icon, indicating that this package has built-in type declarations

0.1.10 • Public • Published

capacitor-real-time

This Capacitor plugin provides real time for mobiles which cannot be modified by the user.

Install

npm install capacitor-real-time
npx cap sync

API

echo(...)

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

Returns: Promise<{ value: string; }>


getUptime()

getUptime() => Promise<{ uptime: number; }>

Returns: Promise<{ uptime: number; }>


getGnssTime()

getGnssTime() => Promise<{ gnssTime: number | null; }>

Returns: Promise<{ gnssTime: number | null; }>


getNetworkTime()

getNetworkTime() => Promise<{ networkTime: number | null; }>

Returns: Promise<{ networkTime: number | null; }>


getTrueTime()

getTrueTime() => Promise<{ trueTime: number | null; }>

Returns: Promise<{ trueTime: number | null; }>


Readme

Keywords

Package Sidebar

Install

npm i capacitor-real-time

Weekly Downloads

0

Version

0.1.10

License

MIT

Unpacked Size

34.1 kB

Total Files

27

Last publish

Collaborators

  • hauserkristof