1 |
|
2 |
|
3 | #import <Foundation/Foundation.h>
|
4 |
|
5 |
|
6 | @protocol UMTaskConsumerInterface;
|
7 |
|
8 | @protocol UMTaskInterface
|
9 |
|
10 |
|
11 |
|
12 |
|
13 | @property (nonatomic, strong, readonly) NSString *__nonnull name;
|
14 |
|
15 |
|
16 |
|
17 |
|
18 | @property (nonatomic, strong, readonly) NSString *__nonnull appId;
|
19 |
|
20 |
|
21 |
|
22 |
|
23 | @property (nonatomic, strong, readonly) NSString *__nonnull appUrl;
|
24 |
|
25 |
|
26 |
|
27 |
|
28 | @property (nonatomic, strong, readonly) id<UMTaskConsumerInterface> __nonnull consumer;
|
29 |
|
30 |
|
31 |
|
32 |
|
33 | @property (nonatomic, strong) NSDictionary *__nullable options;
|
34 |
|
35 |
|
36 |
|
37 |
|
38 | - (void)executeWithData:(nullable NSDictionary *)data withError:(nullable NSError *)error;
|
39 |
|
40 | @end
|