GCKDiscoveryCriteria Class

GCKDiscoveryCriteria Class Reference

Overview

Device discovery filter criteria.

Since
4.0

Inherits NSObject, <NSCopying>, and <NSSecureCoding>.

Instance Method Summary

(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

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

Property Summary

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...
 

Method Detail

- (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

- (NSString* const) kGCKDefaultMediaReceiverApplicationID

The receiver application ID for the Default Media Receiver.

Property Detail

- (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.

- (NSSet<NSString *>*) namespaces
readnonatomicstrong

A list of supported namespaces to test for.

- (BOOL) hasNamespaces
readnonatomicassign

Whether the discovery criteria includes any namespaces.

- (NSSet<NSString *>*) allSubtypes
readnonatomicstrong

The discovery criteria as a set of mDNS subtypes.

Send feedback about...