LKS_ConnectionManager.h 554 B

123456789101112131415161718192021222324252627
  1. //
  2. // Lookin.h
  3. // Lookin
  4. //
  5. // Created by Li Kai on 2018/8/5.
  6. // https://lookin.work
  7. //
  8. #import <UIKit/UIKit.h>
  9. extern NSString *const LKS_ConnectionDidEndNotificationName;
  10. @class LookinConnectionResponseAttachment;
  11. @interface LKS_ConnectionManager : NSObject
  12. + (instancetype)sharedInstance;
  13. @property(nonatomic, assign) BOOL applicationIsActive;
  14. - (BOOL)isConnected;
  15. - (void)respond:(LookinConnectionResponseAttachment *)data requestType:(uint32_t)requestType tag:(uint32_t)tag;
  16. - (void)pushData:(NSObject *)data type:(uint32_t)type;
  17. @end