洛阳学员端
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

31 lines
989 B

8 months ago
  1. //
  2. // APBTaskContext.h
  3. // BioAuthEngine
  4. //
  5. // Created by yukun.tyk on 11/27/15.
  6. // Copyright © 2015 DTF. All rights reserved.
  7. //
  8. #import <Foundation/Foundation.h>
  9. #import "APBResponse.h"
  10. /**
  11. */
  12. typedef enum {
  13. STATE_NOT_RUNNING, //未运行
  14. STATE_RUNNING, //运行态
  15. STATE_FINISHED, //任务结束
  16. }APBTaskState;
  17. @interface APBTaskContext : NSObject
  18. @property(nonatomic, assign)APBTaskState state; //任务状态
  19. @property(nonatomic, assign)APBResultType resultCode; //任务结果码
  20. @property(nonatomic, copy)NSString *failReason; //任务失败原因
  21. @property(nonatomic, strong)NSMutableDictionary *successResult; //任务成功结果
  22. @property (nonatomic,strong) NSString* retCodeSub ; //产品结果明细,不影响决策
  23. @property (nonatomic,strong) NSString* retMessageSub ; //retMessageSub对应的文案
  24. @end