doum
昨天 2f3221b7c90d5663fdb312653a2d188bc4628370
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
import { ICommonAPIParams } from '../../constant/types';
/**
 * 连续获取当前地理位置信息(持续定位) 请求参数定义
 * @apiName startLocating
 */
export interface IUnionStartLocatingParams extends ICommonAPIParams {
    sceneId: string;
    useCache: boolean;
    withReGeocode: boolean;
    targetAccuracy: number;
    callBackInterval: number;
    iOSDistanceFilter: number;
}
/**
 * 连续获取当前地理位置信息(持续定位) 返回结果定义
 * @apiName startLocating
 */
export interface IUnionStartLocatingResult {
    city: string;
    road: string;
    address: string;
    netType: string;
    accuracy: number;
    district: string;
    latitude: number;
    provider: string;
    province: string;
    errorCode: number;
    longitude: number;
    isFromMock: boolean;
    errorMessage: string;
    isGpsEnabled: boolean;
    locationType: number;
    operatorType: string;
    isWifiEnabled: boolean;
    isMobileEnabled: boolean;
}
/**
 * 连续获取当前地理位置信息(持续定位)
 * @apiName startLocating
 */
export declare function startLocating$(params: IUnionStartLocatingParams): Promise<IUnionStartLocatingResult>;
export default startLocating$;