MCDRemoteSystemPlatformFilter

@interface MCDRemoteSystemPlatformFilter : NSObject<MCDRemoteSystemFilter> 

一个类,用于根据远程系统正在运行的 OS 平台筛选远程系统。

属性

平台

@property(nonatomic, readonly) MCDRemoteSystemPlatform platform;

指示要筛选的平台的 MCDRemoteSystemPlatform 值。

构造函数

filterWithPlatform

+ (nullable instancetype)filterWithPlatform:(MCDRemoteSystemPlatform)platform;

参数

  • platform

指示要筛选的平台的 MCDRemoteSystemPlatform 值。

返回

返回按平台筛选的 MCDRemoteSystemPlatformFilter 对象。

initWithPlatform

- (nullable instancetype)initWithPlatform:(MCDRemoteSystemPlatform)platform;

参数

  • platform

指示要筛选的平台的 MCDRemoteSystemPlatform 值。

返回

返回使用按平台的筛选器初始化的 MCDRemoteSystemPlatformFilter 对象。