mop-flutter-sdk/ios/Classes/Api/MOP_closeAllApplets.m

21 lines
466 B
Dart

//
// MOP_closeAllApplets.m
// mop
//
// Created by 康旭耀 on 2020/4/16.
//
#import "MOP_closeAllApplets.h"
#import <FinApplet/FinApplet.h>
@implementation MOP_closeAllApplets
- (void)setupApiWithSuccess:(void (^)(NSDictionary<NSString *,id> * _Nonnull))success failure:(void (^)(id _Nullable))failure cancel:(void (^)(void))cancel
{
NSLog(@"closeAllApplets");
[[FATClient sharedClient] closeAllAppletsWithCompletion:nil];
success(@{});
}
@end