UPBodyEvent Class Reference
Inherits from | UPGenericEvent : UPBaseEvent : NSObject |
Declared in | UPBodyEventAPI.h UPBodyEventAPI.m |
Tasks
Other Methods
-
+ eventWithTitle:weight:bodyFat:leanMass:bmi:note:image:
-
+ eventWithTitle:weight:bodyFat:leanMass:bmi:note:imageURL:
-
weight
property -
bodyFat
property -
leanMass
property -
bmi
property
Other Methods
Properties
bmi
Body Mass Index.
@property (nonatomic, strong) NSNumber *bmi
Discussion
Body Mass Index.
Declared In
UPBodyEventAPI.h
bodyFat
Body fat percentage.
@property (nonatomic, strong) NSNumber *bodyFat
Discussion
Body fat percentage.
Declared In
UPBodyEventAPI.h
Class Methods
eventWithTitle:weight:bodyFat:leanMass:bmi:note:image:
Create a new body event with supplied parameters for the currently authenticated user.
+ (UPBodyEvent *)eventWithTitle:(NSString *)title weight:(NSNumber *)weight bodyFat:(NSNumber *)bodyFat leanMass:(NSNumber *)leanMass bmi:(NSNumber *)bmi note:(NSString *)note image:(UPImage *)image
Parameters
- title
Title of the new event.
- weight
Weight in kilograms.
- bodyFat
Body fat percentage.
- leanMass
Lean mass percentage.
- bmi
Body Mass Index.
- note
Notes associated with the event.
- image
Image to include in the event.
Discussion
Create a new body event with supplied parameters for the currently authenticated user.
Declared In
UPBodyEventAPI.h
eventWithTitle:weight:bodyFat:leanMass:bmi:note:imageURL:
Create a new body event with supplied parameters for the currently authenticated user.
+ (UPBodyEvent *)eventWithTitle:(NSString *)title weight:(NSNumber *)weight bodyFat:(NSNumber *)bodyFat leanMass:(NSNumber *)leanMass bmi:(NSNumber *)bmi note:(NSString *)note imageURL:(NSString *)imageURL
Parameters
- title
Title of the new event.
- weight
Weight in kilograms.
- bodyFat
Body fat percentage.
- leanMass
Lean mass percentage.
- bmi
Body Mass Index.
- note
Notes associated with the event.
- image
URL of the image to include in the event.
Discussion
Create a new body event with supplied parameters for the currently authenticated user.
Declared In
UPBodyEventAPI.h