Inherits from LEService : NSObject
Declared in LEMotionSensor.h

Overview

This service provides readings from an motion sensor (aka. detect sensor).

Add a instance of a LEMotionSensorDelegate using addDelegate: to be notified when a service receives an updated value.

Tasks

Properties

count

The most recent count reading from the sensor

@property (nonatomic, readonly) NSUInteger count

Discussion

The most recent count reading from the sensor

Declared In

LEMotionSensor.h

distance

The most recent distance reading from the sensor

@property (nonatomic, readonly) CGFloat distance

Discussion

The most recent distance reading from the sensor

Declared In

LEMotionSensor.h

motionSensorMode

The current mode of the motion sensor

@property (nonatomic, readwrite) LEMotionSensorMode motionSensorMode

Discussion

The current mode of the motion sensor

Declared In

LEMotionSensor.h