UPGenericEvent Class Reference
| Inherits from | UPBaseEvent : NSObject |
| Declared in | UPGenericEventAPI.h UPGenericEventAPI.m |
Overview
A generic event represents any event posted to the UP platform that isn’t already represented. This can be used for generic messaging, or events that are specific to 3rd party application (i.e. posting a photo)
Tasks
Other Methods
-
+ eventWithTitle:verb:attributes:note:image: -
+ eventWithTitle:verb:attributes:note:imageURL: -
verbproperty -
attributesproperty -
noteproperty -
imageURLproperty -
imageproperty
Other Methods
Properties
attributes
Set of attributes associated with the event (used in the feed story).
@property (nonatomic, strong) NSDictionary *attributesDiscussion
Set of attributes associated with the event (used in the feed story).
Declared In
UPGenericEventAPI.himage
Event image.
@property (nonatomic, strong) UPImage *imageDiscussion
Event image.
Declared In
UPGenericEventAPI.himageURL
URI of the event’s image.
@property (nonatomic, strong) NSString *imageURLDiscussion
URI of the event’s image.
Declared In
UPGenericEventAPI.hClass Methods
eventWithTitle:verb:attributes:note:image:
Create a new generic event with supplied parameters for the currently authenticated user.
+ (UPGenericEvent *)eventWithTitle:(NSString *)title verb:(NSString *)verb attributes:(NSDictionary *)attributes note:(NSString *)note image:(UPImage *)imageParameters
- title
Title of the new event.
- verb
Verb to indicate user action (used in the feed story).
- attributes
Set of attributes associated with the event (used in the feed story).
- note
Description of the event.
- image
Image to include in the event.
Discussion
Create a new generic event with supplied parameters for the currently authenticated user.
Declared In
UPGenericEventAPI.heventWithTitle:verb:attributes:note:imageURL:
Create a new generic event with supplied parameters for the currently authenticated user.
+ (UPGenericEvent *)eventWithTitle:(NSString *)title verb:(NSString *)verb attributes:(NSDictionary *)attributes note:(NSString *)note imageURL:(NSString *)imageURLParameters
- title
Title of the new event.
- verb
Verb to indicate user action (used in the feed story).
- attributes
Set of attributes associated with the event (used in the feed story).
- note
Description of the event.
- imageURL
URI of the image to include in the event.
Discussion
Create a new generic event with supplied parameters for the currently authenticated user.
Declared In
UPGenericEventAPI.h