APBTaskContext.h 989 B

12345678910111213141516171819202122232425262728293031
  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. */
  13. typedef enum {
  14. STATE_NOT_RUNNING, //未运行
  15. STATE_RUNNING, //运行态
  16. STATE_FINISHED, //任务结束
  17. }APBTaskState;
  18. @interface APBTaskContext : NSObject
  19. @property(nonatomic, assign)APBTaskState state; //任务状态
  20. @property(nonatomic, assign)APBResultType resultCode; //任务结果码
  21. @property(nonatomic, copy)NSString *failReason; //任务失败原因
  22. @property(nonatomic, strong)NSMutableDictionary *successResult; //任务成功结果
  23. @property (nonatomic,strong) NSString* retCodeSub ; //产品结果明细,不影响决策
  24. @property (nonatomic,strong) NSString* retMessageSub ; //retMessageSub对应的文案
  25. @end