Capacitor Test Plugin Project
++ This project can be used to test out the functionality of your plugin. Nothing in the + example-app/ folder will be published to npm when using this template, so you can create away! +
+ + + +Promise<PositioningData>
+
+--------------------
+
+
+### addListener('onPositionUpdate', ...)
+
+```typescript
+addListener(eventName: 'onPositionUpdate', listenerFunc: (data: PositioningData) => void) => PluginListenerHandle
+```
+
+| Param | Type |
+| ------------------ | ------------------------------------------------------------------------------ |
+| **`eventName`** | 'onPositionUpdate' |
+| **`listenerFunc`** | (data: PositioningData) => void |
+
+**Returns:** PluginListenerHandle
+
+--------------------
+
+
+### Interfaces
+
+
+#### PositioningData
+
+| Prop | Type |
+| --------------- | ----------------------------------------------------------- |
+| **`source`** | 'GNSS' \| 'WIFI' \| 'FUSED' \| 'MOCK' |
+| **`timestamp`** | number |
+| **`latitude`** | number |
+| **`longitude`** | number |
+| **`accuracy`** | number |
+| **`gnssData`** | SatelliteStatus |
+| **`wifiData`** | WifiAp[] |
+| **`imuData`** | ImuData |
+
+
+#### SatelliteStatus
+
+| Prop | Type |
+| ------------------------- | --------------------------------------- |
+| **`satellitesInView`** | number |
+| **`usedInFix`** | number |
+| **`constellationCounts`** | { [key: string]: number; } |
+
+
+#### WifiAp
+
+| Prop | Type |
+| -------------- | ------------------- |
+| **`ssid`** | string |
+| **`bssid`** | string |
+| **`rssi`** | number |
+| **`distance`** | number |
+
+
+#### ImuData
+
+| Prop | Type |
+| ------------------ | ------------------- |
+| **`accelX`** | number |
+| **`accelY`** | number |
+| **`accelZ`** | number |
+| **`gyroX`** | number |
+| **`gyroY`** | number |
+| **`gyroZ`** | number |
+| **`speed`** | number |
+| **`acceleration`** | number |
+| **`directionRad`** | number |
+
+
+#### PluginListenerHandle
+
+| Prop | Type |
+| ------------ | ----------------------------------------- |
+| **`remove`** | () => Promise<void> |
+
++ This project can be used to test out the functionality of your plugin. Nothing in the + example-app/ folder will be published to npm when using this template, so you can create away! +
+ + + +{ value: string; } |
+Memulai pengambilan data posisi secara real-time dari GNSS, Wi-Fi, dan IMU.
-**Returns:** Promise<{ value: string; }>
+---
---------------------
+### ๐ stopPositioning()
-- This project can be used to test out the functionality of your plugin. Nothing in the - example-app/ folder will be published to npm when using this template, so you can create away! -
- - - -