Inherits from NSObject
Declared in UPCardiacEventAPI.h
UPCardiacEventAPI.m

Overview

Provides an interface for interacting with cardiac events.

Class Methods

deleteCardiacEvent:completion:

Delete a cardiac event for the currently authenticated user.

+ (void)deleteCardiacEvent:(UPCardiacEvent *)event completion:(UPBaseEventAPICompletion)completion

Parameters

event

An existing cardiac event.

completion

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

Discussion

Delete a cardiac event for the currently authenticated user.

Declared In

UPCardiacEventAPI.h

getCardiacEventsWithCompletion:

Request recent cardiac events for the currently authenticated user.

+ (void)getCardiacEventsWithCompletion:(UPBaseEventAPIArrayCompletion)completion

Parameters

completion

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

Discussion

Request recent cardiac events for the currently authenticated user.

Declared In

UPCardiacEventAPI.h

postCardiacEvent:completion:

Post a cardiac event for the currently authenticated user.

+ (void)postCardiacEvent:(UPCardiacEvent *)event completion:(UPCardiacEventAPICompletion)completion

Parameters

event

A new cardiac event.

completion

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

Discussion

Post a cardiac event for the currently authenticated user.

Declared In

UPCardiacEventAPI.h

refreshCardiacEvent:completion:

Refresh (update) an existing cardiac event for the currently authenticated user.

+ (void)refreshCardiacEvent:(UPCardiacEvent *)event completion:(UPCardiacEventAPICompletion)completion

Parameters

event

An existing cardiac event.

completion

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

Discussion

Refresh (update) an existing cardiac event for the currently authenticated user.

Declared In

UPCardiacEventAPI.h