HIVE SDK for iOS

HIVEResultAPI.h
이 파일의 문서화 페이지로 가기
1 
13 #import <Foundation/Foundation.h>
14 #import "HIVEResultAPIEnum.h"
15 
25 @interface HIVEResultAPI : NSObject <NSCopying>
26 
27 @property (nonatomic, getter=getErrorCode) HIVEResultAPIType errorCode;
28 @property (nonatomic, getter=getCode) HIVEResultAPICode code;
29 @property (strong, nonatomic, getter=getErrorMessage) NSString *errorMessage;
30 @property (strong, nonatomic, getter=getMessage) NSString *message;
31 @property (strong, nonatomic) NSString *reason;
32 @property (nonatomic, getter=getLatencyMS) NSInteger latencyMS;
33 
34 + (instancetype)success;
35 + (instancetype)errorCode:(HIVEResultAPIType)errorCode code:(HIVEResultAPICode)code;
36 + (instancetype)errorCode:(HIVEResultAPIType)errorCode code:(HIVEResultAPICode)code reason:(NSString *)reason;
37 
38 - (NSString*)description;
39 - (BOOL)isSuccess;
40 - (NSString *)toJson;
41 
42 @end
43 
Definition: HIVEResultAPI.h:25
Copyright © GAMEVIL COM2US PLATFORM Inc. All Right Reserved. 이용약관 개인정보 처리방침