WebRTCStore.h 544 B

12345678910111213141516171819202122232425262728293031
  1. //
  2. // WebRTCStore.h
  3. // AIIM
  4. //
  5. // Created by gan on 2025/4/16.
  6. //
  7. #ifndef WebRTCStore_h
  8. #define WebRTCStore_h
  9. #endif /* WebRTCStore_h */
  10. @protocol WebRTCStoreDelegate <NSObject>
  11. @optional
  12. - (void)WebRTCStoreAct:(NSDictionary *_Nullable)actData;
  13. @end
  14. @interface WebRTCStore : NSObject
  15. + (WebRTCStore *_Nonnull)shareInstance;
  16. @property (nonatomic,weak) id <WebRTCStoreDelegate> delegate;
  17. @property (nonatomic) BOOL isBusy;
  18. @property (nonatomic,strong) NSString * _Nullable PeerId;
  19. -(void)reciveMsg:(NSDictionary *_Nonnull)msg;
  20. @end