NIMAVChatNetDetectResult.h 972 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. //
  2. // NIMAVChatNetDetectResult.h
  3. // NIMAVChat
  4. //
  5. // Created by Netease on 16/12/16.
  6. // Copyright © 2016年 Netease. All rights reserved.
  7. //
  8. #import <Foundation/Foundation.h>
  9. /**
  10. 网络探测任务结果
  11. */
  12. @interface NIMAVChatNetDetectResult : NSObject
  13. /**
  14. 任务 id
  15. */
  16. @property (nonatomic,assign,readonly) UInt64 taskId;
  17. /**
  18. 任务执行结果,如果没有错误则为 nil
  19. */
  20. @property (nonatomic,strong,readonly) NSError *error;
  21. /**
  22. 丢包率百分比
  23. */
  24. @property (nonatomic,assign,readonly) NSInteger lossRate;
  25. /**
  26. rtt 最大值
  27. */
  28. @property (nonatomic,assign,readonly) NSInteger rttMaximal;
  29. /**
  30. rtt 最小值
  31. */
  32. @property (nonatomic,assign,readonly) NSInteger rttMinimal;
  33. /**
  34. rtt 平均值
  35. */
  36. @property (nonatomic,assign,readonly) NSInteger rttAverage;
  37. /**
  38. rtt 偏差
  39. */
  40. @property (nonatomic,assign,readonly) NSInteger rttMeanDeviation;
  41. /**
  42. 扩展信息
  43. */
  44. @property (nonatomic,copy,readonly) NSString *expandInfo;
  45. @end