TMDUploadMetadata Class Reference

Inherits from NSObject
Declared in TMDUploadMetadata.h

Overview

A class that summarizes the results of an upload.

  uploadTimestamp

The upload timestamp of the last upload (in milliseconds).

@property (assign) long long uploadTimestamp

Declared In

TMDUploadMetadata.h

  lastTmdActivityTimestamp

The end timestamp of last activity that was just uploaded (in milliseconds). Note: this was in seconds in versions prior to v0.6.0.

@property (assign) long long lastTmdActivityTimestamp

Declared In

TMDUploadMetadata.h

  nbTmdSequences

The number of TMD sequences that were just uploaded

@property (assign) NSInteger nbTmdSequences

Declared In

TMDUploadMetadata.h

  lastLocationTimestamp

The timestamp of the last location point that was just uploaded (in milliseconds). Note: this was in seconds in versions prior to v0.6.0.

@property (assign) long long lastLocationTimestamp

Declared In

TMDUploadMetadata.h

  nbLocations

The number of location data points that were uploaded.

@property (assign) NSInteger nbLocations

Declared In

TMDUploadMetadata.h

  nbTripUpdates

The number of modified trips that were uploaded.

@property (assign) NSInteger nbTripUpdates

Declared In

TMDUploadMetadata.h

  nbCorrections

The number of activity corrections that were uploaded.

@property (assign) NSInteger nbCorrections

Declared In

TMDUploadMetadata.h

– initWithUploadTimestamp:lastTmdActivityTimestamp:nbTmdSequences:lastLocationTimestamp:nbLocations:nbTripUpdates:nbCorrections:

Default constructor

- (instancetype)initWithUploadTimestamp:(long long)uploadTimestamp lastTmdActivityTimestamp:(long long)lastTmdActivityTimestamp nbTmdSequences:(NSInteger)nbTmdSequences lastLocationTimestamp:(long long)lastLocationTimestamp nbLocations:(NSInteger)nbLocations nbTripUpdates:(NSInteger)nbTripUpdates nbCorrections:(NSInteger)nbCorrections

Parameters

uploadTimestamp

The upload timestamp of the last upload

lastTmdActivityTimestamp

The end timestamp of last activity that was just uploaded

nbTmdSequences

The number of TMD sequences that were just uploaded

lastLocationTimestamp

The timestamp of the last location point that was just uploaded

nbLocations

The number of location data points that were uploaded

nbTripUpdates

The number of modified trips that were uploaded

nbCorrections

The number of activity corrections that were uploaded

Declared In

TMDUploadMetadata.h

– initWithUploadTimestamp:

The upload timestamp of the last upload

- (instancetype)initWithUploadTimestamp:(long long)uploadTimestamp

Parameters

uploadTimestamp

The upload timestamp of the last upload

Declared In

TMDUploadMetadata.h

– init

Default constructor when nothing was set.

- (instancetype)init

Declared In

TMDUploadMetadata.h

– addLastTmdActivityTimestamp:

- (void)addLastTmdActivityTimestamp:(long long)lastTmdActivityTimestamp

– addLastLocationTimestamp:

- (void)addLastLocationTimestamp:(long long)lastLocationTimestamp

– addNbTmdSequences:

- (void)addNbTmdSequences:(NSInteger)nbTmdSequences

– addNbLocations:

- (void)addNbLocations:(NSInteger)nbLocations

– addNbCorrections:

- (void)addNbCorrections:(NSInteger)nbCorrections

– description

JSON description of the metadata.

- (NSString *)description

Declared In

TMDUploadMetadata.h