![]() |
Diffusion Apple API 6.12.0
Unified Client Library for iOS, tvOS and OS X / macOS
|
An event in a time series. More...
#include <PTDiffusionTimeSeriesEvent.h>
Instance Methods | |
| (BOOL) | - isEqualToTimeSeriesEvent: |
| Instance Methods inherited from PTDiffusionTimeSeriesEventMetadata | |
| (BOOL) | - isEqualToTimeSeriesEventMetadata: |
Properties | |
| PTDiffusionTimeSeriesEventMetadata * | originalEvent |
| BOOL | editEvent |
| PTDiffusionBytes * | bytes |
| Properties inherited from PTDiffusionTimeSeriesEventMetadata | |
| UInt64 | sequence |
| SInt64 | timestamp |
| NSString * | author |
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.
| - (BOOL) isEqualToTimeSeriesEvent: | (nullable PTDiffusionTimeSeriesEvent *) | timeSeriesEvent |
Compares the receiver to the given time series event.
| timeSeriesEvent | The time series event object with which to compare the receiver. |
|
readnonatomicassign |
The value associated with the event.
|
readnonatomicassign |
If this is an edit event then YES, otherwise NO indicating that this is an original event.
|
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.