// Copyright 2016 Google Inc. #import #import NS_ASSUME_NONNULL_BEGIN /** * The receiver application ID for the Default Media Receiver. * * @memberof GCKDiscoveryCriteria */ GCK_EXTERN NSString *const kGCKDefaultMediaReceiverApplicationID; /** * Device discovery filter criteria. * * @since 4.0 */ GCK_EXPORT @interface GCKDiscoveryCriteria : NSObject /** A list of supported receiver application IDs to test for. */ @property(nonatomic, strong, readonly, nullable) NSOrderedSet *applicationIDs; /** Whether the discovery criteria includes any application IDs. */ @property(nonatomic, assign, readonly) BOOL hasApplicationIDs; /** A list of supported namespaces to test for. */ @property(nonatomic, strong, readonly, nullable) NSSet *namespaces; /** Whether the discovery criteria includes any namespaces. */ @property(nonatomic, assign, readonly) BOOL hasNamespaces; /** The discovery criteria as a set of mDNS subtypes. */ @property(nonatomic, strong, readonly) NSSet *allSubtypes; /** * Initializes a new GCKDiscoveryCriteria with a receiver application ID. * * @param applicationID The receiver application ID. */ - (instancetype)initWithApplicationID:(NSString *)applicationID; /** * Initializes a new GCKDiscoveryCriteria with the given attributes. * * @param namespaces A set of namespaces. */ - (instancetype)initWithNamespaces:(NSSet *)namespaces; @end NS_ASSUME_NONNULL_END