libgpac
Documentation of the core library of GPAC
SensorAccess Class Reference

#import <sensors.h>

+ Inheritance diagram for SensorAccess:
+ Collaboration diagram for SensorAccess:

Instance Methods

(int) - setSensorType:
 
(int) - getSensorType
 
(int) - setSensorCallback:
 
(int) - startSensor
 
(int) - stopSensor
 
(int) - isSensorStarted
 

Protected Attributes

SensorDataCallbacksensorCallbak
 
int sensorType
 
int gpsActive
 
int sensorActive
 

Properties

CMMotionManager * motionManager
 
NSOperationQueue * queue
 
CLLocationManager * locMngr
 

Method Documentation

◆ setSensorType:

- (int) setSensorType: (int)  type

◆ getSensorType

- (int) getSensorType

◆ setSensorCallback:

- (int) setSensorCallback: (SensorDataCallback*)  callback

◆ startSensor

- (int) startSensor

◆ stopSensor

- (int) stopSensor

◆ isSensorStarted

- (int) isSensorStarted

Field Documentation

◆ sensorCallbak

- (SensorDataCallback*) sensorCallbak
protected

◆ sensorType

- (int) sensorType
protected

◆ gpsActive

- (int) gpsActive
protected

◆ sensorActive

- (int) sensorActive
protected

Property Documentation

◆ motionManager

- (CMMotionManager*) motionManager
readwritenonatomicretain

◆ queue

- (NSOperationQueue*) queue
readwritenonatomicretain

◆ locMngr

- (CLLocationManager*) locMngr
readwritenonatomicretain