|
@@ -7,6 +7,13 @@
|
|
|
|
|
|
#import <Foundation/Foundation.h>
|
|
#import <Foundation/Foundation.h>
|
|
|
|
|
|
|
|
+typedef NS_ENUM(NSUInteger, MKRRadioDeviceType) {
|
|
|
|
+ MKRRadioDeviceTypeWIFI = 1, //WIFI设备
|
|
|
|
+ MKRRadioDeviceType4G = 2, //4G设备
|
|
|
|
+ MKRRadioDeviceTypeBluetooth = 4, //蓝牙设备
|
|
|
|
+ MKRRadioDeviceTypeVirtual = 3, //虚拟设备
|
|
|
|
+};
|
|
|
|
+
|
|
@protocol MKRUPnPDevice <NSObject>
|
|
@protocol MKRUPnPDevice <NSObject>
|
|
|
|
|
|
- (NSString *)deviceName;
|
|
- (NSString *)deviceName;
|
|
@@ -16,6 +23,7 @@
|
|
- (NSString *)avTransportUrl;
|
|
- (NSString *)avTransportUrl;
|
|
- (NSString *)renderingControlUrl;
|
|
- (NSString *)renderingControlUrl;
|
|
- (NSString *)groupManagementUrl;
|
|
- (NSString *)groupManagementUrl;
|
|
|
|
+- (MKRRadioDeviceType)deviceType;
|
|
|
|
|
|
@end
|
|
@end
|
|
|
|
|
|
@@ -28,5 +36,6 @@
|
|
@property (nonatomic, strong) NSString *avTransportUrl;
|
|
@property (nonatomic, strong) NSString *avTransportUrl;
|
|
@property (nonatomic, strong) NSString *renderingControlUrl;
|
|
@property (nonatomic, strong) NSString *renderingControlUrl;
|
|
@property (nonatomic, strong) NSString *groupManagementUrl;
|
|
@property (nonatomic, strong) NSString *groupManagementUrl;
|
|
|
|
+@property (nonatomic, assign) MKRRadioDeviceType deviceType;
|
|
|
|
|
|
@end
|
|
@end
|