// // FATExt_LocationUpdateManager.h // FinAppletExt // // Created by 王兆耀 on 2022/11/6. // #import #import "FATExtBaseApi.h" #import "FATExtLocationManager.h" NS_ASSUME_NONNULL_BEGIN @interface FATExt_LocationUpdateManager : NSObject + (instancetype)sharedManager; @property (nonatomic, strong) FATExtLocationManager *locationManager; @property (nonatomic, assign) BOOL locationIsInit; @property (nonatomic, copy) NSString *appletId; @property (nonatomic, weak) id context; - (void)startLocationUpdateType:(NSString *)type isAllowsBackgroundLocationUpdates:(BOOL)result withAppId:(NSString *)appId Success:(void (^)(NSDictionary *successResult))success failure:(void (^)(NSDictionary *failResult))failure cancel:(void (^)(NSDictionary *cancelResult))cancel; - (void)onLocationUpdate; - (void)stopLocationUpdate; - (void)checkLocationState; @end NS_ASSUME_NONNULL_END