Conforms to LEServiceDelegate
Declared in LEMotionSensor.h

Overview

Implement this protocol to be notified when the LEMotionSensor updates its value

Instance Methods

motionSensor:didUpdateCountTo:

Invoked when the motion sensor has an updated count value

- (void)motionSensor:(LEMotionSensor *)sensor didUpdateCountTo:(NSUInteger)count

Parameters

sensor

The sensor that has a new value

count

The new value

Discussion

Invoked when the motion sensor has an updated count value

Declared In

LEMotionSensor.h

motionSensor:didUpdateDistanceFrom:to:

Invoked when the motion sensor has an updated distance value

- (void)motionSensor:(LEMotionSensor *)sensor didUpdateDistanceFrom:(CGFloat)oldDistance to:(CGFloat)newDistance

Parameters

sensor

The sensor that has a new value

oldDistance

The previous distance reading

newDistance

The new distance reading

Discussion

Invoked when the motion sensor has an updated distance value

Declared In

LEMotionSensor.h