iOS 直播-网速监控CXNetworkSpeed.h 1 // 2 // CXNetworkSpeed.h 3 // CXNetworkSpeedDemo 4 // 5 // Created by xubaoaichiyu on 16/08/16. 6 // Copyright ...
iOS 直播-网速监控
CXNetworkSpeed.h
1 // 2 // CXNetworkSpeed.h 3 // CXNetworkSpeedDemo 4 // 5 // Created by xubaoaichiyu on 16/08/16. 6 // Copyright © 2016年 xubaoaichiyu All rights reserved. 7 // 8 9 10 11 #import <Foundation/Foundation.h>12 13 14 @interface CXNetworkSpeed : NSObject15 16 @property (nonatomic, copy, readonly) NSString * receivedNetworkSpeed;17 18 @property (nonatomic, copy, readonly) NSString * sendNetworkSpeed;19 20 + (instancetype)shareNetworkSpeed;21 22 - (void)startMonitoringNetworkSpeed;23 24 - (void)stopMonitoringNetworkSpeed;25 26 @end27 28 29 30 /**31 * @{@"received":@"100kB/s"}32 */33 FOUNDATION_EXTERN NSString *const kNetworkReceivedSpeedNotification;34 35 /**36 * @{@"send":@"100kB/s"}37 */38 FOUNDATION_EXTERN NSString *const kNetworkSendSpeedNotification;
原标题:iOS 直播
关键词:IOS
*特别声明:以上内容来自于网络收集,著作权属原作者所有,如有侵权,请联系我们:
admin#shaoqun.com
(#换成@)。