Inherits from NSObject
Declared in UPBodyEventAPI.h
UPBodyEventAPI.m

Overview

Provides an interface for interacting with body events.

Class Methods

deleteBodyEvent:completion:

Delete a single Weight metric event for the currently authenticated user.

+ (void)deleteBodyEvent:(UPBodyEvent *)event completion:(UPBaseEventAPICompletion)completion

Parameters

event

Existing body event.

completion

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

Discussion

Delete a single Weight metric event for the currently authenticated user.

Declared In

UPBodyEventAPI.h

getBodyEventsWithCompletion:

Get body composition metrics record events for the currently authenticated user.

+ (void)getBodyEventsWithCompletion:(UPBaseEventAPIArrayCompletion)completion

Parameters

completion

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

Discussion

Get body composition metrics record events for the currently authenticated user.

Declared In

UPBodyEventAPI.h

postBodyEvent:completion:

Create a new user event to record body composition metrics for the currently authenticated user.

+ (void)postBodyEvent:(UPBodyEvent *)event completion:(UPBodyEventAPICompletion)completion

Parameters

event

New body event.

completion

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

Discussion

Create a new user event to record body composition metrics for the currently authenticated user.

Declared In

UPBodyEventAPI.h

refreshBodyEvent:completion:

Get a single body composition metric event for the currently authenticated user.

+ (void)refreshBodyEvent:(UPBodyEvent *)event completion:(UPBodyEventAPICompletion)completion

Parameters

event

Existing body event.

completion

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

Discussion

Get a single body composition metric event for the currently authenticated user.

Declared In

UPBodyEventAPI.h