BoxHeartbeatAlertTool.h 622 B

12345678910111213141516171819202122232425262728
  1. //
  2. // BoxHeartbeatAlertTool.h
  3. // 隐私保护
  4. //
  5. // Created by xd h on 2025/2/7.
  6. //
  7. #import <Foundation/Foundation.h>
  8. NS_ASSUME_NONNULL_BEGIN
  9. /**
  10. *
  11. */
  12. typedef void (^BoxHeartbeat_DidClickButFun) (NSInteger tag); // 1 2 3 //表示点击弹框按钮的 index
  13. @interface BoxHeartbeatAlertTool : NSObject
  14. + (instancetype)shareInstance;
  15. #pragma mark 网络异常弹框 type == 1 全部心跳异常 2 是部分异常
  16. -(void)showBoxHeartbeatAlertFun:(NSInteger)type didClickBut:(BoxHeartbeat_DidClickButFun)didClickBut;
  17. #pragma mark 网络异常弹框 消失
  18. - (void)dismissErrorAlertFun;
  19. @end
  20. NS_ASSUME_NONNULL_END