UPMoodAPI Class Reference
| Inherits from | NSObject |
| Declared in | UPMoodAPI.h UPMoodAPI.m |
Class Methods
deleteMood:completion:
Delete a mood event.
+ (void)deleteMood:(UPMood *)mood completion:(UPBaseEventAPICompletion)completionParameters
- mood
The mood event to be deleted. The currently authenticated user must own the mood event.
- completion
Block to be executed upon completion. This block is passed the result or any error information.
Discussion
Delete a mood event.
Declared In
UPMoodAPI.hgetCurrentMoodWithCompletion:
Request the current mood of the currently authenticated user.
+ (void)getCurrentMoodWithCompletion:(UPMoodAPICompletion)completionParameters
- completion
Block to be executed upon completion. This block is passed the result or any error information.
Discussion
Request the current mood of the currently authenticated user.
Declared In
UPMoodAPI.hpostMood:completion:
Post a mood update to the currently authenticated user’s feed.
+ (void)postMood:(UPMood *)mood completion:(UPMoodAPICompletion)completionParameters
- mood
The new mood event.
- completion
Block to be executed upon completion. This block is passed the result or any error information.
Discussion
Post a mood update to the currently authenticated user’s feed.
Declared In
UPMoodAPI.hrefreshMood:completion:
Update an existing mood event.
+ (void)refreshMood:(UPMood *)mood completion:(UPMoodAPICompletion)completionParameters
- mood
The mood event to be updated.
- completion
Block to be executed upon completion. This block is passed the result or any error information.
Discussion
Update an existing mood event.
Declared In
UPMoodAPI.h