// // XFNativeModule.h // xf_native_plugin // // Created by 张丰 on 2023/6/26. // #import <UIKit/UIKit.h> #import "XFTool.h" NS_ASSUME_NONNULL_BEGIN @interface XFNativeModule : NSObject - (void)getLocation:(NSDictionary *)options callback:(UniModuleKeepAliveCallback)callback; /// 停止定位 - (void)stopLocation:(NSDictionary *)options; - (void)callAction:(NSDictionary *)options; - (NSString *)isBackground; - (void)initRCWithAppKey:(NSString *)appKey option:(NSDictionary *_Nullable)option; - (void)connectRC:(NSString *)token callback:(UniModuleKeepAliveCallback)callback; - (void)addRCConnectionListen:(UniModuleKeepAliveCallback)callBack; - (void)disConnectRC; - (void)testCall:(NSString *)userId mediaType:(NSInteger)mediaType; @end NS_ASSUME_NONNULL_END