Diffusion Apple API  6.6.2
Unified Client Library for iOS, tvOS and OS X / macOS
 All Classes Files Functions Variables Enumerations Enumerator 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 PTDiffusionCloseReason PTDiffusionGlobalPermission PTDiffusionLoggingLevel PTDiffusionPathPermission PTDiffusionRecordV2DeltaChangeType PTDiffusionRecordV2SchemaFieldType PTDiffusionRemoteServerConnectionOption PTDiffusionRemoteServerConnectionState PTDiffusionSessionLockScope PTDiffusionTimeSeriesQueryResultEventArrayStructure PTDiffusionTopicCreationResult PTDiffusionTopicNotificationType PTDiffusionTopicPermission

Class Methods

(NSSet< PTDiffusionEnumeration * > *) + elements
 

Instance Methods

(BOOL) - isEqualToEnumeration:
 

Method Documentation

+ (NSSet<PTDiffusionEnumeration *> *) elements

Returns the constant values offered by this enumeration.

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