1234567891011121314151617181920 |
- import { OnFailCallback } from './invoker';
- import { GeolocationResult } from './getGeolocation';
- export interface StartGeoLocationParams {
- targetAccuracy?: number;
- iOSDistanceFilter?: number;
- useCache?: boolean;
- withReGeocode?: boolean;
- callBackInterval?: number;
- sceneId: string;
- onSuccess?: (geoResult: GeolocationResult) => void;
- onFail?: (error: OnFailCallback) => void;
- }
- declare function startGeolocation(params: StartGeoLocationParams): Promise<{}>;
- declare namespace startGeolocation {
- var version: {
- android: string;
- ios: string;
- };
- }
- export default startGeolocation;
|