![]() |
Diffusion Apple API 6.11.5
Unified Client Library for iOS, tvOS and OS X / macOS
|
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.
Properties | |
PTDiffusionTimeSeriesEventMetadata * | originalEvent |
BOOL | editEvent |
PTDiffusionBytes * | bytes |
![]() | |
UInt64 | sequence |
SInt64 | timestamp |
NSString * | author |
Instance Methods | |
(BOOL) | - isEqualToTimeSeriesEvent: |
![]() | |
(BOOL) | - isEqualToTimeSeriesEventMetadata: |
- (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. |
YES
if it is identical to the receiver, otherwise NO
.
|
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.