LunaSysMgr
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
AmbientLightSensor Class Reference

#include <AmbientLightSensor.h>

Public Member Functions

 AmbientLightSensor ()
 
virtual ~AmbientLightSensor ()
 
bool update (int intensity)
 
int getCurrentRegion ()
 
bool start ()
 
bool stop ()
 

Static Public Member Functions

static AmbientLightSensorinstance ()
 
static bool controlStatus (LSHandle *sh, LSMessage *message, void *ctx)
 
static bool cancelSubscription (LSHandle *sh, LSMessage *message, void *ctx)
 
static bool hiddServiceNotification (LSHandle *sh, const char *serviceName, bool connected, void *ctx)
 

Constructor & Destructor Documentation

AmbientLightSensor::AmbientLightSensor ( )
AmbientLightSensor::~AmbientLightSensor ( )
virtual

Member Function Documentation

bool AmbientLightSensor::cancelSubscription ( LSHandle *  sh,
LSMessage *  message,
void *  ctx 
)
static
bool AmbientLightSensor::controlStatus ( LSHandle *  sh,
LSMessage *  message,
void *  ctx 
)
static
int AmbientLightSensor::getCurrentRegion ( )
bool AmbientLightSensor::hiddServiceNotification ( LSHandle *  sh,
const char *  serviceName,
bool  connected,
void *  ctx 
)
static
AmbientLightSensor * AmbientLightSensor::instance ( void  )
static
bool AmbientLightSensor::start ( )
bool AmbientLightSensor::stop ( )
bool AmbientLightSensor::update ( int  intensity)

The documentation for this class was generated from the following files: