GCKDiscoveryCriteria Class Reference

Device discovery filter criteria. More...

#import <GCKDiscoveryCriteria.h>

+ Inheritance diagram for GCKDiscoveryCriteria:

Instance Methods

(instancetype) - initWithApplicationID:
 Initializes a new GCKDiscoveryCriteria with a receiver application ID. More...
 
(instancetype) - initWithNamespaces:
 Initializes a new GCKDiscoveryCriteria with the given attributes. More...
 

Public Attributes

GCK_ASSUME_NONNULL_BEGIN GCK_EXTERN NSString *const kGCKDefaultMediaReceiverApplicationID
 The receiver application ID for the Default Media Receiver. More...
 

Properties

NSOrderedSet< NSString * > * applicationIDs
 A list of supported receiver application IDs to test for. More...
 
BOOL hasApplicationIDs
 Whether the discovery criteria includes any application IDs. More...
 
NSSet< NSString * > * namespaces
 A list of supported namespaces to test for. More...
 
BOOL hasNamespaces
 Whether the discovery criteria includes any namespaces. More...
 
NSSet< NSString * > * allSubtypes
 The discovery criteria as a set of mDNS subtypes. More...
 

Detailed Description

Device discovery filter criteria.

Since
4.0

Method Documentation

- (instancetype) initWithApplicationID: (NSString *)  applicationID

Initializes a new GCKDiscoveryCriteria with a receiver application ID.

Parameters
applicationIDThe receiver application ID.
- (instancetype) initWithNamespaces: (NSSet< NSString * > *)  namespaces

Initializes a new GCKDiscoveryCriteria with the given attributes.

Parameters
namespacesA set of namespaces.

Member Data Documentation

- (GCK_ASSUME_NONNULL_BEGIN GCK_EXTERN NSString* const) kGCKDefaultMediaReceiverApplicationID

The receiver application ID for the Default Media Receiver.

Property Documentation

- (NSSet<NSString *>*) allSubtypes
readnonatomicstrong

The discovery criteria as a set of mDNS subtypes.

- (NSOrderedSet<NSString *>*) applicationIDs
readnonatomicstrong

A list of supported receiver application IDs to test for.

- (BOOL) hasApplicationIDs
readnonatomicassign

Whether the discovery criteria includes any application IDs.

- (BOOL) hasNamespaces
readnonatomicassign

Whether the discovery criteria includes any namespaces.

- (NSSet<NSString *>*) namespaces
readnonatomicstrong

A list of supported namespaces to test for.


The documentation for this class was generated from the following file: