TMDCloudMetadata Class Reference

Inherits from NSObject
Declared in TMDCloudMetadata.h

Overview

TMD metadata contains information about the information that the Moprim Cloud knows about a user.

  firstUploadTimestamp

The timestamp (in milliseconds) of the first time the cloud received data (i.e., start of the first recognized activity).

@property (assign) long long firstUploadTimestamp

Declared In

TMDCloudMetadata.h

  lastTmdTimestamp

The last TMD activity timestamp (in milliseconds).

@property (assign) long long lastTmdTimestamp

Declared In

TMDCloudMetadata.h

  lastTmdMovingActivityTimestamp

The timestamp of the last non-stationary TMD activity (in milliseconds).

@property (assign) long long lastTmdMovingActivityTimestamp

Declared In

TMDCloudMetadata.h

  lastLocationTimestamp

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

@property (assign) long long lastLocationTimestamp

Declared In

TMDCloudMetadata.h

  lastTmdUploadTimestamp

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

@property (assign) long long lastTmdUploadTimestamp

Declared In

TMDCloudMetadata.h

  lastLocationUploadTimestamp

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

@property (assign) long long lastLocationUploadTimestamp

Declared In

TMDCloudMetadata.h

  communityDailyCo2

The average daily co2 value for the community.

@property (assign) double communityDailyCo2

Declared In

TMDCloudMetadata.h

  communityDailyDistance

The average daily distance value for the community.

@property (assign) double communityDailyDistance

Declared In

TMDCloudMetadata.h

  communityDailyDuration

The average daily duration value for the community.

@property (assign) double communityDailyDuration

Declared In

TMDCloudMetadata.h

– initWithFirstUploadTimestamp:lastTmdTimestamp:lastTmdMovingActivityTimestamp:lastLocationTimestamp:lastTmdUploadTimestamp:lastLocationUploadTimestamp:communityDailyCo2:communityDailyDistance:communityDailyDuration:

- (instancetype)initWithFirstUploadTimestamp:(long long)firstUploadTimestamp lastTmdTimestamp:(long long)lastTmdTimestamp lastTmdMovingActivityTimestamp:(long long)lastTmdMovingActivityTimestamp lastLocationTimestamp:(long long)lastLocationTimestamp lastTmdUploadTimestamp:(long long)lastTmdUploadTimestamp lastLocationUploadTimestamp:(long long)lastLocationUploadTimestamp communityDailyCo2:(double)communityDailyCo2 communityDailyDistance:(double)communityDailyDistance communityDailyDuration:(double)communityDailyDuration

– description

JSON description of the object.

- (NSString *)description

Declared In

TMDCloudMetadata.h