1
This commit is contained in:
36
Pods/LookinServer/Src/Main/Shared/LookinConnectionResponseAttachment.h
generated
Normal file
36
Pods/LookinServer/Src/Main/Shared/LookinConnectionResponseAttachment.h
generated
Normal file
@@ -0,0 +1,36 @@
|
||||
#ifdef SHOULD_COMPILE_LOOKIN_SERVER
|
||||
|
||||
//
|
||||
// LookinConnectionResponse.h
|
||||
// Lookin
|
||||
//
|
||||
// Created by Li Kai on 2019/1/15.
|
||||
// https://lookin.work
|
||||
//
|
||||
|
||||
|
||||
|
||||
#import <Foundation/Foundation.h>
|
||||
#import "LookinConnectionAttachment.h"
|
||||
|
||||
@interface LookinConnectionResponseAttachment : LookinConnectionAttachment
|
||||
|
||||
+ (instancetype)attachmentWithError:(NSError *)error;
|
||||
|
||||
@property(nonatomic, assign) int lookinServerVersion;
|
||||
|
||||
@property(nonatomic, strong) NSError *error;
|
||||
|
||||
/// 如果为 YES,则表示 app 正处于后台模式,默认为 NO
|
||||
@property(nonatomic, assign) BOOL appIsInBackground;
|
||||
|
||||
/**
|
||||
dataTotalCount 为 0 时表示仅有这一个 response,默认为 0
|
||||
dataTotalCount 大于 0 时表示可能有多个 response,当所有 response 的 currentDataCount 的总和大于 dataTotalCount 即表示所有 response 已接收完毕
|
||||
*/
|
||||
@property(nonatomic, assign) NSUInteger dataTotalCount;
|
||||
@property(nonatomic, assign) NSUInteger currentDataCount;
|
||||
|
||||
@end
|
||||
|
||||
#endif /* SHOULD_COMPILE_LOOKIN_SERVER */
|
||||
Reference in New Issue
Block a user