//
// IPUSystemLocationUtil.h
// IPUMobileFunc
//
// Created by 秋林 on 2019/7/5.
// Copyright © 2019 Asiainfo. All rights reserved.
//
#import <Foundation/Foundation.h>
#import <IPUMobile/IPUMobile.h>
@interface IPUSystemLocationUtil : NSObject
/// 连续定位
/// @param callback <#callback description#>
- (void)getLocation:(IPUPluginUtilCallback _Nonnull)callback;
/// 停止连续l定位,与’getLocation‘配对使用
- (void)stopLocation;
/// 单次定位
/// @param callback <#callback description#>
- (void)getOnceLocation:(IPUPluginUtilCallback _Nonnull)callback;
/// 判断手机是否使用模拟定位
/// @param callback 0:未使用模拟定位,1:曾经使用模拟定位,重启手机后可恢复真实定位,2:正在使用模拟定位
- (void)isUsingSimulatorLocation:(IPUPluginUtilCallback _Nonnull)callback;
@end
|