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

Introduction

An event in a time series.

Two instances are equal if and only if they have identical attributes. Typically two instances that have the same sequence number will be equal, but this may not be true if the event has changed on the server.

Since
6.0
Inheritance diagram for PTDiffusionTimeSeriesEvent:
PTDiffusionTimeSeriesEventMetadata PTDiffusionBinaryTimeSeriesEvent PTDiffusionJSONTimeSeriesEvent PTDiffusionNumberTimeSeriesEvent PTDiffusionRecordV2TimeSeriesEvent PTDiffusionStringTimeSeriesEvent

Properties

PTDiffusionTimeSeriesEventMetadataoriginalEvent
 
BOOL editEvent
 
PTDiffusionBytesbytes
 

Instance Methods

(BOOL) - isEqualToTimeSeriesEvent:
 

Method Documentation

- (BOOL) isEqualToTimeSeriesEvent: (nullable PTDiffusionTimeSeriesEvent *)  timeSeriesEvent

Compares the receiver to the given time series event.

Parameters
timeSeriesEventThe time series event object with which to compare the receiver.
Returns
YES if it is identical to the receiver, otherwise NO.
Since
6.0

Property Documentation

- (PTDiffusionBytes*) bytes
readnonatomicassign

The value associated with the event.

Since
6.3
- (BOOL) editEvent
readnonatomicassign

If this is an edit event then YES, otherwise NO indicating that this is an original event.

Since
6.0
- (PTDiffusionTimeSeriesEventMetadata*) originalEvent
readnonatomicassign

If this is an edit event, returns the metadata of the original event that this event replaces; otherwise returns this event.

The result is always the metadata of an original event, never that of an edit event.

Since
6.0