GCKDiscoveryCriteria Class

GCKDiscoveryCriteria Class Reference

Overview

Device discovery filter criteria.

Since
4.0

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

Instance Method Summary

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

Public Attributes

The receiver application ID for the Default Media Receiver. More...

Property Summary

NSOrderedSet< NSString * > * 
A list of supported receiver application IDs to test for. More...
Whether the discovery criteria includes any application IDs. More...
NSSet< NSString * > * 
A list of supported namespaces to test for. More...
BOOL 
Whether the discovery criteria includes any namespaces. More...
NSSet< NSString * > * 
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
applicationID
The receiver application ID.
- (instancetype) initWithNamespaces: (NSSet< NSString * > *)  namespaces

Initializes a new GCKDiscoveryCriteria with the given attributes.

Parameters
namespaces
A set of namespaces.

Member Data Documentation

- (NSString* const) kGCKDefaultMediaReceiverApplicationID

The receiver application ID for the Default Media Receiver.

Property Detail

- (NSOrderedSet<NSString *>*) applicationIDs
read nonatomic strong

A list of supported receiver application IDs to test for.

- (BOOL) hasApplicationIDs
read nonatomic assign

Whether the discovery criteria includes any application IDs.

- (NSSet<NSString *>*) namespaces
read nonatomic strong

A list of supported namespaces to test for.

- (BOOL) hasNamespaces
read nonatomic assign

Whether the discovery criteria includes any namespaces.

- (NSSet<NSString *>*) allSubtypes
read nonatomic strong

The discovery criteria as a set of mDNS subtypes.

Create a Mobile Website
View Site in Mobile | Classic
Share by: