![]() |
Diffusion Apple API 6.12.0
Unified Client Library for iOS, tvOS and OS X / macOS
|
Metadata associated with a time series event. More...
#include <PTDiffusionTimeSeriesEventMetadata.h>
Instance Methods | |
| (BOOL) | - isEqualToTimeSeriesEventMetadata: |
Properties | |
| UInt64 | sequence |
| SInt64 | timestamp |
| NSString * | author |
| - (BOOL) isEqualToTimeSeriesEventMetadata: | (nullable PTDiffusionTimeSeriesEventMetadata *) | timeSeriesEventMetadata |
Compares the receiver to the given time series event metadata.
| timeSeriesEventMetadata | The time series event metadata object with which to compare the receiver. |
|
readnonatomicassign |
Server-authenticated identity of the session that created the event.
|
readnonatomicassign |
Sequence number identifying this event within its time series. Assigned by the server when the event is created.
Sequence numbers are unique within a time series. Each event appended to a time series is assigned a sequence number that is equal to the sequence number of the preceding event plus one.
|
readnonatomicassign |
Event timestamp. Assigned by the server when the event is created.
Events do not have unique timestamps. Events with different sequence numbers may have the same timestamp.
Subsequent events in a time series usually have timestamps that are greater or equal to the timestamps of earlier events, but this is not guaranteed due to changes to the time source used by the server.