Usage

Stop a previously registered background tracking task.

This type is used by location.error

tsx
// 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);

Type declaration

ts
export type LocationError = Failure;

Members 2

NameTypeRequiredDescription
codestringYes—
messagestringYes—
Generated from the public TypeScript declarations: signatures, props and defaults come from the checked source, descriptions from its JSDoc. No defaults are invented.