Inherits from UPGenericEvent : UPBaseEvent : NSObject
Declared in UPCardiacEventAPI.h
UPCardiacEventAPI.m

Overview

A cardiac represents cardiac characteristics of the user, like heart rate.

Properties

diastolicPressure

Diastolic pressure for the currently authenticated user.

@property (nonatomic, strong) NSNumber *diastolicPressure

Discussion

Diastolic pressure for the currently authenticated user.

Declared In

UPCardiacEventAPI.h

heartRate

Heart rate for the currently authenticated user.

@property (nonatomic, strong) NSNumber *heartRate

Discussion

Heart rate for the currently authenticated user.

Declared In

UPCardiacEventAPI.h

systolicPressure

Systolic pressure for the currently authenticated user.

@property (nonatomic, strong) NSNumber *systolicPressure

Discussion

Systolic pressure for the currently authenticated user.

Declared In

UPCardiacEventAPI.h

Class Methods

eventWithTitle:heartRate:systolicPressure:diastolicPressure:note:image:

Create a new cardiac event with supplied parameters for the currently authenticated user.

+ (UPCardiacEvent *)eventWithTitle:(NSString *)title heartRate:(NSNumber *)heartRate systolicPressure:(NSNumber *)systolicPressure diastolicPressure:(NSNumber *)diastolicPressure note:(NSString *)note image:(UPImage *)image

Parameters

title

Title for the new event.

heartRate

Heart rate.

systolicPressure

Systolic pressure.

diastolicPressure

Diastolic pressure.

image

Associated image.

Discussion

Create a new cardiac event with supplied parameters for the currently authenticated user.

Declared In

UPCardiacEventAPI.h

eventWithTitle:heartRate:systolicPressure:diastolicPressure:note:imageURL:

Create a new cardiac event with supplied parameters for the currently authenticated user.

+ (UPCardiacEvent *)eventWithTitle:(NSString *)title heartRate:(NSNumber *)heartRate systolicPressure:(NSNumber *)systolicPressure diastolicPressure:(NSNumber *)diastolicPressure note:(NSString *)note imageURL:(NSString *)imageURL

Parameters

title

Title for the new event.

heartRate

Heart rate.

systolicPressure

Systolic pressure.

diastolicPressure

Diastolic pressure.

imageURL

The URL for the associated image.

Discussion

Create a new cardiac event with supplied parameters for the currently authenticated user.

Declared In

UPCardiacEventAPI.h

Instance Methods

apiType

- (NSString *)apiType

Declared In

UPBaseEventAPI.h

decodeFromDictionary:

- (void)decodeFromDictionary:(NSDictionary *)dictionary

Declared In

UPBaseEventAPI.h

encodeToDictionary

Encodes an object to a JSON dictionary.

- (NSDictionary *)encodeToDictionary

Discussion

Encodes an object to a JSON dictionary.

Declared In

UPBaseEventAPI.h