0.0.3 • Published 2 years ago

capacitor-gps-wydnex v0.0.3

Weekly downloads
-
License
MIT
Repository
gitlab
Last release
2 years ago

capacitor-gps-wydnex

A capacitor plugin for retrieving and monitoring GPS status.

Install

npm install capacitor-gps-wydnex
npx cap sync

API

startSatelliteUpdates()

startSatelliteUpdates() => Promise<any>

Returns: Promise<any>


stopSatelliteUpdates()

stopSatelliteUpdates() => Promise<any>

Returns: Promise<any>


checkGpsStatus()

checkGpsStatus() => Promise<{ isGpsEnabled: boolean; }>

Returns: Promise<{ isGpsEnabled: boolean; }>


addListener(string, ...)

addListener(eventName: string, listenerFunc: ListenerCallback) => Promise<PluginListenerHandle> & PluginListenerHandle
ParamType
eventNamestring
listenerFuncListenerCallback

Returns: Promise<PluginListenerHandle> & PluginListenerHandle


Interfaces

PluginListenerHandle

PropType
remove() => Promise<void>

Type Aliases

ListenerCallback

(err: any, ...args: any[]): void

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago