TMDStatus Class Reference

Inherits from NSObject
Declared in TMDStatus.h

Overview

TMDStatus objects indicate the status of the TMD between two timestamps.

See TMDStatusName for the list of possible status names.

See TMDCloudApi for methods to fetch TMDStatus objects.

  tmdStatusId

@property (assign) long long tmdStatusId

  timestampStart

@property (assign) long long timestampStart

  timestampEnd

@property (assign) long long timestampEnd

  label

@property (nonatomic, strong) NSString *label

  syncedWithCloud

@property BOOL syncedWithCloud

– initWithId:withTimestampStart:withTimestampStop:withLabel:withSynced:

- (instancetype)initWithId:(long long)tmdStatusId withTimestampStart:(long long)timestampStart withTimestampStop:(long long)timestampStop withLabel:(NSString *)label withSynced:(BOOL)syncedWithCloud

– duration

- (NSTimeInterval)duration

+ tmdStatusNameToString:

+ (NSString *)tmdStatusNameToString:(TMDStatusName)tmdStatusName

– tmdStatusName

See TMDStatusName for a list of possible values.

- (TMDStatusName)tmdStatusName

Declared In

TMDStatus.h