Inherits from NSObject
Conforms to UPBaseObject
Declared in UPUserAPI.h
UPUserAPI.m

Overview

A trend represents the user’s data at a specific point in time, with a given bucket size. Trends are useful to measure data over time, such as in a graph.

Tasks

Other Methods

Other Methods

Properties

age

The user’s age.

@property (nonatomic, strong) NSNumber *age

Discussion

The user’s age.

Declared In

UPUserAPI.h

date

The date of the trend.

@property (nonatomic, strong) NSDate *date

Discussion

The date of the trend.

Declared In

UPUserAPI.h

eatCalcium

The user’s calcium eaten.

@property (nonatomic, strong) NSNumber *eatCalcium

Discussion

The user’s calcium eaten.

Declared In

UPUserAPI.h

eatCalories

The user’s calories eaten.

@property (nonatomic, strong) NSNumber *eatCalories

Discussion

The user’s calories eaten.

Declared In

UPUserAPI.h

eatCarbs

The user’s carbs eaten.

@property (nonatomic, strong) NSNumber *eatCarbs

Discussion

The user’s carbs eaten.

Declared In

UPUserAPI.h

eatFiber

The user’s fiber eaten.

@property (nonatomic, strong) NSNumber *eatFiber

Discussion

The user’s fiber eaten.

Declared In

UPUserAPI.h

eatProtein

The user’s protein eaten.

@property (nonatomic, strong) NSNumber *eatProtein

Discussion

The user’s protein eaten.

Declared In

UPUserAPI.h

eatSaturatedFat

The user’s saturated fat eaten.

@property (nonatomic, strong) NSNumber *eatSaturatedFat

Discussion

The user’s saturated fat eaten.

Declared In

UPUserAPI.h

eatSodium

The user’s sodium eaten.

@property (nonatomic, strong) NSNumber *eatSodium

Discussion

The user’s sodium eaten.

Declared In

UPUserAPI.h

eatSugar

The user’s sugar eaten.

@property (nonatomic, strong) NSNumber *eatSugar

Discussion

The user’s sugar eaten.

Declared In

UPUserAPI.h

gender

The user’s gender.

@property (nonatomic, assign) UPUserGender gender

Discussion

The user’s gender.

Declared In

UPUserAPI.h

height

The user’s height.

@property (nonatomic, strong) NSNumber *height

Discussion

The user’s height.

Declared In

UPUserAPI.h

moveActiveTime

The user’s total active time.

@property (nonatomic, strong) NSNumber *moveActiveTime

Discussion

The user’s total active time.

Declared In

UPUserAPI.h

moveCalories

The user’s total calories moved.

@property (nonatomic, strong) NSNumber *moveCalories

Discussion

The user’s total calories moved.

Declared In

UPUserAPI.h

moveDistance

The user’s total distance moved.

@property (nonatomic, strong) NSNumber *moveDistance

Discussion

The user’s total distance moved.

Declared In

UPUserAPI.h

moveSteps

The user’s total steps taken.

@property (nonatomic, strong) NSNumber *moveSteps

Discussion

The user’s total steps taken.

Declared In

UPUserAPI.h

moveWorkoutTime

The user’s total workout time.

@property (nonatomic, strong) NSNumber *moveWorkoutTime

Discussion

The user’s total workout time.

Declared In

UPUserAPI.h

sleepAwake

The user’s total awake time.

@property (nonatomic, strong) NSNumber *sleepAwake

Discussion

The user’s total awake time.

Declared In

UPUserAPI.h

sleepLight

The user’s total light sleep.

@property (nonatomic, strong) NSNumber *sleepLight

Discussion

The user’s total light sleep.

Declared In

UPUserAPI.h

sleepSound

The user’s total sound sleep.

@property (nonatomic, strong) NSNumber *sleepSound

Discussion

The user’s total sound sleep.

Declared In

UPUserAPI.h

sleepTimeAsleep

The user’s total time asleep.

@property (nonatomic, strong) NSNumber *sleepTimeAsleep

Discussion

The user’s total time asleep.

Declared In

UPUserAPI.h

sleepTimeAwake

The last time the user woke up, in seconds from/to midnight.

@property (nonatomic, strong) NSNumber *sleepTimeAwake

Discussion

The last time the user woke up, in seconds from/to midnight.

Declared In

UPUserAPI.h

weight

The user’s weight.

@property (nonatomic, strong) NSNumber *weight

Discussion

The user’s weight.

Declared In

UPUserAPI.h

Instance Methods

decodeFromDictionary:

Decodes an object from a JSON dictionary.

- (void)decodeFromDictionary:(NSDictionary *)dictionary

Discussion

Decodes an object from a JSON dictionary.

Declared In

UPBaseEventAPI.h

encodeToDictionary

Encodes an object to a JSON dictionary.

- (NSDictionary *)encodeToDictionary

Discussion

Encodes an object to a JSON dictionary.

Declared In

UPBaseEventAPI.h