Inherits from NSObject
Conforms to UPBaseObject
Declared in UPSleepAPI.h
UPSleepAPI.m

Overview

A sleep tick represents details about the sleep at a small section in time.

Tasks

Other Methods

Other Methods

Properties

depth

The sleep depth of the tick.

@property (nonatomic, strong) NSNumber *depth

Discussion

The sleep depth of the tick.

Declared In

UPSleepAPI.h

timestamp

The timestamp of the tick.

@property (nonatomic, strong) NSDate *timestamp

Discussion

The timestamp of the tick.

Declared In

UPSleepAPI.h

Instance Methods

decodeFromDictionary:

Decodes an object from a JSON dictionary.

- (void)decodeFromDictionary:(NSDictionary *)dictionary

Discussion

Decodes an object from a JSON 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