Inherits from NSObject
Declared in UPGenericEventAPI.h
UPGenericEventAPI.m

Overview

Provides an interface for interacting with generic events.

Class Methods

deleteGenericEvent:completion:

Delete a generic event for the currently authenticated user.

+ (void)deleteGenericEvent:(UPGenericEvent *)event completion:(UPBaseEventAPICompletion)completion

Parameters

completion

Block to be executed upon completion. This block is passed the results or any error information.

Discussion

Delete a generic event for the currently authenticated user.

Declared In

UPGenericEventAPI.h

getGenericEventsWithCompletion:

Get generic events for the currently authenticated user.

+ (void)getGenericEventsWithCompletion:(UPBaseEventAPIArrayCompletion)completion

Parameters

completion

Block to be executed upon completion. This block is passed the results or any error information.

Discussion

Get generic events for the currently authenticated user.

Declared In

UPGenericEventAPI.h

postGenericEvent:completion:

Create a new generic event for the currently authenticated user.

+ (void)postGenericEvent:(UPGenericEvent *)event completion:(UPGenericEventAPICompletion)completion

Parameters

completion

Block to be executed upon completion. This block is passed the results or any error information.

Discussion

Create a new generic event for the currently authenticated user.

Declared In

UPGenericEventAPI.h

refreshGenericEvent:completion:

Get a generic event for the currently authenticated user.

+ (void)refreshGenericEvent:(UPGenericEvent *)event completion:(UPGenericEventAPICompletion)completion

Parameters

completion

Block to be executed upon completion. This block is passed the results or any error information.

Discussion

Get a generic event for the currently authenticated user.

Declared In

UPGenericEventAPI.h