INNER CODE UNIT · TypeScript

getCurrentPosition

Agontuk/react-native-geolocation-service · index.d.ts:84

  export function getCurrentPosition(
    successCallback: SuccessCallback,
    errorCallback?: ErrorCallback,
    options?: GeoOptions
  ): void;

  export function watchPosition(
    successCallback: SuccessCallback,
    errorCallback?: ErrorCallback,
    options?: GeoWatchOptions
  ): number;

  export function clearWatch(watchID: number): void;

  export function stopObserving(): void;
}

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…