location.error
The error that ended a watch, such as access revoked in Settings; null while none has.
Usage
Stop a previously registered background tracking task.
// Stop a previously registered background tracking task.
import { location } from 'kuito';
if (await location.updating('trip-tracking')) {
await location.stopUpdates('trip-tracking');
}
console.log(location.error.value);Properties and methods 1
| Name | Type | Required | Description |
|---|---|---|---|
valuereadonly | LocationError | Yes | — |
value — nested fields
value fields
| Name | Type | Required | Description |
|---|---|---|---|
code | string | Yes | — |
message | string | Yes | — |
Generated from the public TypeScript declarations: signatures, props and defaults come from the checked source, descriptions from its JSDoc. No defaults are invented.