UPMeal Class Reference
| Inherits from | UPBaseEvent : NSObject |
| Declared in | UPMealAPI.h UPMealAPI.m |
Tasks
Other Methods
-
+ mealWithTitle:items: -
+ mealWithTitle:placeName:placeLatitude:placeLongitude:placeAccuracy:items: -
overallNutritionInfoproperty -
itemsproperty -
placeNameproperty -
placeLatitudeproperty -
placeLongitudeproperty -
placeAccuracyproperty -
foodCountproperty -
drinkCountproperty -
photoproperty -
photoURLproperty -
subTypeproperty
Other Methods
Properties
drinkCount
The number of drink items in the meal.
@property (nonatomic, strong) NSNumber *drinkCountDiscussion
The number of drink items in the meal.
Declared In
UPMealAPI.hfoodCount
The number of food items in the meal.
@property (nonatomic, strong) NSNumber *foodCountDiscussion
The number of food items in the meal.
Declared In
UPMealAPI.hitems
The items of which the meal consists.
@property (nonatomic, strong) NSArray *itemsDiscussion
The items of which the meal consists.
Declared In
UPMealAPI.hoverallNutritionInfo
Overall nutrution info for the entire meal.
@property (nonatomic, strong) UPMealNutritionInfo *overallNutritionInfoDiscussion
Overall nutrution info for the entire meal.
Declared In
UPMealAPI.hphoto
The photo for the meal.
@property (nonatomic, strong) UPImage *photoDiscussion
The photo for the meal.
Declared In
UPMealAPI.hphotoURL
The photo URL for the meal.
@property (nonatomic, strong) NSString *photoURLDiscussion
The photo URL for the meal.
Declared In
UPMealAPI.hplaceAccuracy
The accuracy of the lat/long of the place the meal was created.
@property (nonatomic, strong) NSNumber *placeAccuracyDiscussion
The accuracy of the lat/long of the place the meal was created.
Declared In
UPMealAPI.hplaceLatitude
The latitude of the place the meal was created.
@property (nonatomic, strong) NSNumber *placeLatitudeDiscussion
The latitude of the place the meal was created.
Declared In
UPMealAPI.hplaceLongitude
The longitude of the place the meal was created.
@property (nonatomic, strong) NSNumber *placeLongitudeDiscussion
The longitude of the place the meal was created.
Declared In
UPMealAPI.hClass Methods
mealWithTitle:items:
Create a new meal event that can be posted to the user’s feed.
+ (UPMeal *)mealWithTitle:(NSString *)title items:(NSArray *)itemsDiscussion
Create a new meal event that can be posted to the user’s feed.
Declared In
UPMealAPI.hmealWithTitle:placeName:placeLatitude:placeLongitude:placeAccuracy:items:
Create a new meal event with specifed location that can be posted to the user’s feed.
+ (UPMeal *)mealWithTitle:(NSString *)title placeName:(NSString *)placeName placeLatitude:(NSNumber *)placeLatitude placeLongitude:(NSNumber *)placeLongitude placeAccuracy:(NSNumber *)placeAccuracy items:(NSArray *)itemsParameters
- title
The title of the new meal event.
- placeName
The name of the location.
- placeLatitude
The latitude coordinate.
- placeLongitude
The longitude coordinate.
- placeAccuracy
The accuracy of the coordinates.
- items
The items that constitute the new meal.
Discussion
Create a new meal event with specifed location that can be posted to the user’s feed.
Declared In
UPMealAPI.h