// // BUStaticPlugin.h // BURexxar // // Created by muhuai on 2017/4/27. // Copyright © 2017年 muhuai. All rights reserved. // #import #import "BUJSBDefine.h" #import "BUJSBCommand.h" @protocol BURexxarEngine; typedef void(^BUJSBStaticHandler)(NSDictionary *params, BUJSBResponse completion); @interface BUStaticPlugin : NSObject - (void)registerHandlerBlock:(BUJSBStaticHandler)handler forMethodName:(NSString*)method; - (BOOL)callHandlerWithCommand:(BUJSBCommand *)command engine:(id)engine completion:(BUJSBResponse)completion; @end