mop-flutter-sdk/ios/Classes/Utils/MOPBaseApi.h

39 lines
799 B
Dart
Raw Normal View History

2020-02-27 17:21:45 +08:00
//
// MOPBaseApi.h
// mop
//
// Created by 杨涛 on 2020/2/27.
//
#import <Foundation/Foundation.h>
2021-01-08 15:03:14 +08:00
#import <FinApplet/FinApplet.h>
2020-02-27 17:21:45 +08:00
NS_ASSUME_NONNULL_BEGIN
@interface MOPBaseApi : NSObject
/**
api
*/
@property (nonatomic, readonly, copy) NSString * _Null_unspecified command;
/**
*/
@property (nonatomic, readonly, copy) NSDictionary<NSString *, id> * _Nullable param;
/**
API,
@param success
@param failure
@param cancel
*/
- (void)setupApiWithSuccess:(void(^_Null_unspecified)(NSDictionary<NSString *, id> * _Nonnull))success
failure:(void(^_Null_unspecified)(id _Nullable))failure
cancel:(void(^_Null_unspecified)(void))cancel;
@end
NS_ASSUME_NONNULL_END