Diffusion Apple API  6.2.0
Unified Client Library for iOS, tvOS and OS X / macOS
 All Classes Functions Variables Properties Pages
Class Methods | Instance Methods | List of all members
PTDiffusionEnumeration Class Reference

Introduction

Base class for objects offering a selection of predefined constant values.

Classes inheriting from this class share more in common with Java's enum type than they do with C's enum (even using Core Foundation's NS_ENUM macro) in that they are object-based. Benefits of this include:

Since
5.7
Inheritance diagram for PTDiffusionEnumeration:
PTDiffusionAddTopicResult PTDiffusionLoggingLevel PTDiffusionRecordV2DeltaChangeType PTDiffusionRecordV2SchemaFieldType PTDiffusionTimeSeriesQueryResultEventArrayStructure PTDiffusionTopicNotificationType

Class Methods

(instancetype) + NS_UNAVAILABLE
 
(NSSet< PTDiffusionEnumeration * > *) + elements
 

Instance Methods

(instancetype) - NS_UNAVAILABLE
 
(BOOL) - isEqualToEnumeration:
 

Method Documentation

+ (NSSet<PTDiffusionEnumeration *> *) elements

Returns the constant values offered by this enumeration.

Since
5.7
- (BOOL) isEqualToEnumeration: (nullable PTDiffusionEnumeration *)  enumeration

Compares the receiver to the given enumeration.

Parameters
enumerationThe enumeration object with which to compare the receiver.
Returns
YES if the enumeration is equal to the receiver, otherwise NO.
Since
5.7