D.I.T. ( Do It Tizen! )  1.0.0
Samsung Software Membership
 All Data Structures Files Functions Macros Pages
Data Structures | Typedefs | Functions
Sensor.h File Reference

Sensor API 를 사용하기 위해 포함해야 하는 헤더이다. More...

#include <stdbool.h>
#include <stdalign.h>
#include "dit.h"
#include <sensor.h>
Include dependency graph for Sensor.h:
This graph shows which files directly or indirectly include this file:

Data Structures

struct  Gyroscope_data
 
struct  RotationVector_data
 
struct  Light_data
 
struct  Proximity_data
 
struct  Pressure_data
 
struct  UltraViolet_data
 
struct  Temperature_data
 
struct  Humidity_data
 
struct  Accelerometer
 Accelerometer 모듈에 대한 구조체이다. Accelerometer 모듈은 Accelerometer Sensor를 다양한 방식으로 제어할 수 있다. More...
 
struct  AccelerometerExtend
 
struct  Gravity
 Gravity 모듈에 대한 구조체이다. Gravity 모듈은 Gravity Sensor를 다양한 방식으로 제어할 수 있다. More...
 
struct  GravityExtend
 
struct  LinearAccelation
 LinearAccelation 모듈에 대한 구조체이다. LinearAccelation 모듈은 LinearAccelation Sensor를 다양한 방식으로 제어할 수 있다. More...
 
struct  LinearAccelationExtend
 
struct  Magnetometer
 Magnetometer 모듈에 대한 구조체이다. Magnetometer 모듈은 Magnetometer Sensor를 다양한 방식으로 제어할 수 있다. More...
 
struct  MagnetometerExtend
 
struct  RotationVector
 RotationVector 모듈에 대한 구조체이다. RotationVector 모듈은 RotationVector Sensor를 다양한 방식으로 제어할 수 있다. More...
 
struct  RotationVectorExtend
 
struct  Orientation
 Orientation 모듈에 대한 구조체이다. Orientation 모듈은 Orientation Sensor를 다양한 방식으로 제어할 수 있다. More...
 
struct  OrientationExtend
 
struct  Gyroscope
 Gyroscope 모듈에 대한 구조체이다. Gyroscope 모듈은 Gyroscope Sensor를 다양한 방식으로 제어할 수 있다. More...
 
struct  GyroscopeExtend
 
struct  Light
 Light 모듈에 대한 구조체이다. Light 모듈은 Photometer Sensor를 다양한 방식으로 제어할 수 있다. More...
 
struct  LightExtend
 
struct  Proximity
 Proximity 모듈에 대한 구조체이다. Proximity 모듈은 Proximity Sensor를 다양한 방식으로 제어할 수 있다. More...
 
struct  ProximityExtend
 
struct  Pressure
 Pressure 모듈에 대한 구조체이다. Pressure 모듈은 Pressure Sensor를 다양한 방식으로 제어할 수 있다. More...
 
struct  PressureExtend
 
struct  UltraViolet
 UltraViolet 모듈에 대한 구조체이다. UltraViolet 모듈은 UltraViolet Sensor를 다양한 방식으로 제어할 수 있다. More...
 
struct  UltraVioletExtend
 
struct  Temperature
 Temperature 모듈에 대한 구조체이다. Temperature 모듈은 Temperature Sensor를 다양한 방식으로 제어할 수 있다. More...
 
struct  TemperatureExtend
 
struct  Humidity
 Humidity 모듈에 대한 구조체이다. Humidity 모듈은 Humidity Sensor를 다양한 방식으로 제어할 수 있다. More...
 
struct  HumidityExtend
 

Typedefs

typedef void(* sensor_callback )(sensor_h sensor, sensor_event_s *event, void *user_data)
 

Functions

const char * SensorErrorCheck (int errorCode)
 Device Status API에서 발생하는 Error Code들을 확인 해준다. More...
 
Accelerometer NewAccelerometer (void)
 새로운 Accelerometer 객체를 생성한다. More...
 
void DestroyAccelerometer (Accelerometer this_gen)
 생성한 Accelerometer 객체를 소멸 시킨다. More...
 
bool addAccelerometerCallback (Accelerometer this_gen, sensor_callback sensorCallback, int timeinterval, void *data)
 생성한 Accelerometer에 callback 함수를 등록한다. More...
 
bool detachAccelerometerCallback (Accelerometer this_gen)
 생성한 Accelerometer에서 callback 함수를 삭제한다. More...
 
bool AccelerometerOn (Accelerometer this_gen)
 생성한 Accelerometer를 활성화 시킨다. More...
 
bool AccelerometerOff (Accelerometer this_gen)
 생성한 Accelerometer를 비활성화 시킨다. More...
 
bool isAccelerometerSupported (Accelerometer this_gen)
 Accelerometer의 사용 가능 여부를 판단한다. More...
 
Accelerometer_data getAccelerometerValue (Accelerometer this_gen)
 활성화 되어 있는 Accelerometer의 센서 값을 반환한다. More...
 
Gravity NewGravity (void)
 새로운 Gravity 객체를 생성한다. More...
 
void DestroyGravity (Gravity this_gen)
 생성한 Gravity 객체를 소멸 시킨다. More...
 
bool addGravityCallback (Gravity this_gen, sensor_callback sensorCallback, int timeinterval, void *data)
 생성한 Gravity에 callback 함수를 등록한다. More...
 
bool detachGravityCallback (Gravity this_gen)
 생성한 Gravity에서 callback 함수를 삭제한다. More...
 
bool GravityOn (Gravity this_gen)
 생성한 Gravity를 활성화 시킨다. More...
 
bool GravityOff (Gravity this_gen)
 생성한 Gravity를 비활성화 시킨다. More...
 
bool isGravitySupported (Gravity this_gen)
 Gravity의 사용 가능 여부를 판단한다. More...
 
Gravity_data getGravityValue (Gravity this_gen)
 활성화 되어 있는 Gravity의 센서 값을 반환한다. More...
 
LinearAccelation NewLinearAccelation (void)
 새로운 LinearAccelation 객체를 생성한다. More...
 
void DestroyLinearAccelation (LinearAccelation this_gen)
 생성한 LinearAccelation 객체를 소멸 시킨다. More...
 
bool addLinearAccelationCallback (LinearAccelation this_gen, sensor_callback sensorCallback, int timeinterval, void *data)
 생성한 LinearAccelation에 callback 함수를 등록한다. More...
 
bool detachLinearAccelationCallback (LinearAccelation this_gen)
 생성한 LinearAccelation에서 callback 함수를 삭제한다. More...
 
bool LinearAccelationOn (LinearAccelation this_gen)
 생성한 LinearAccelation를 활성화 시킨다. More...
 
bool LinearAccelationOff (LinearAccelation this_gen)
 생성한 LinearAccelation를 비활성화 시킨다. More...
 
bool isLinearAccelationSupported (LinearAccelation this_gen)
 LinearAccelation의 사용 가능 여부를 판단한다. More...
 
LinearAcceleration_data getLinearAccelationValue (LinearAccelation this_gen)
 활성화 되어 있는 LinearAccelation의 센서 값을 반환한다. More...
 
Magnetometer NewMagnetometer (void)
 새로운 Magnetometer 객체를 생성한다. More...
 
void DestroyMagnetometer (Magnetometer this_gen)
 생성한 Magnetometer 객체를 소멸 시킨다. More...
 
bool addMagnetometerCallback (Magnetometer this_gen, sensor_callback sensorCallback, int timeinterval, void *data)
 생성한 Magnetometer에 callback 함수를 등록한다. More...
 
bool detachMagnetometerCallback (Magnetometer this_gen)
 생성한 Magnetometer에서 callback 함수를 삭제한다. More...
 
bool MagnetometerOn (Magnetometer this_gen)
 생성한 Magnetometer를 활성화 시킨다. More...
 
bool MagnetometerOff (Magnetometer this_gen)
 생성한 Magnetometer를 비활성화 시킨다. More...
 
bool isMagnetometerSupported (Magnetometer this_gen)
 Magnetometer의 사용 가능 여부를 판단한다. More...
 
Magnetometer_data getMagnetometerValue (Magnetometer this_gen)
 활성화 되어 있는 Magnetometer의 센서 값을 반환한다. More...
 
RotationVector NewRotationVector (void)
 새로운 RotationVector 객체를 생성한다. More...
 
void DestroyRotationVector (RotationVector this_gen)
 생성한 RotationVector 객체를 소멸 시킨다. More...
 
bool addRotationVectorCallback (RotationVector this_gen, sensor_callback sensorCallback, int timeinterval, void *data)
 생성한 RotationVector에 callback 함수를 등록한다. More...
 
bool detachRotationVectorCallback (RotationVector this_gen)
 생성한 RotationVector에서 callback 함수를 삭제한다. More...
 
bool RotationVectorOn (RotationVector this_gen)
 생성한 RotationVector를 활성화 시킨다. More...
 
bool RotationVectorOff (RotationVector this_gen)
 생성한 RotationVector를 비활성화 시킨다. More...
 
bool isRotationVectorSupported (RotationVector this_gen)
 RotationVector의 사용 가능 여부를 판단한다. More...
 
RotationVector_data getRotationVectorValue (RotationVector this_gen)
 활성화 되어 있는 RotationVector의 센서 값을 반환한다. More...
 
Orientation NewOrientation (void)
 새로운 Orientation 객체를 생성한다. More...
 
void DestroyOrientation (Orientation this_gen)
 생성한 Orientation 객체를 소멸 시킨다. More...
 
bool addOrientationCallback (Orientation this_gen, sensor_callback sensorCallback, int timeinterval, void *data)
 생성한 Orientation에 callback 함수를 등록한다. More...
 
bool detachOrientationCallback (Orientation this_gen)
 생성한 Orientation에서 callback 함수를 삭제한다. More...
 
bool OrientationOn (Orientation this_gen)
 생성한 Orientation를 활성화 시킨다. More...
 
bool OrientationOff (Orientation this_gen)
 생성한 Orientation를 비활성화 시킨다. More...
 
bool isOrientationSupported (Orientation this_gen)
 Orientation의 사용 가능 여부를 판단한다. More...
 
Orientation_data getOrientationValue (Orientation this_gen)
 활성화 되어 있는 Orientation의 센서 값을 반환한다. More...
 
Gyroscope NewGyroscope (void)
 새로운 Gyroscope 객체를 생성한다. More...
 
void DestroyGyroscope (Gyroscope this_gen)
 생성한 Gyroscope 객체를 소멸 시킨다. More...
 
bool addGyroscopeCallback (Gyroscope this_gen, sensor_callback sensorCallback, int timeinterval, void *data)
 생성한 Gyroscope에 callback 함수를 등록한다. More...
 
bool detachGyroscopeCallback (Gyroscope this_gen)
 생성한 Gyroscope에서 callback 함수를 삭제한다. More...
 
bool GyroscopeOn (Gyroscope this_gen)
 생성한 Gyroscope를 활성화 시킨다. More...
 
bool GyroscopeOff (Gyroscope this_gen)
 생성한 Gyroscope를 비활성화 시킨다. More...
 
bool isGyroscopeSupported (Gyroscope this_gen)
 Gyroscope의 사용 가능 여부를 판단한다. More...
 
Gyroscope_data getGyroscopeValue (Gyroscope this_gen)
 활성화 되어 있는 Gyroscope의 센서 값을 반환한다. More...
 
Light NewLight (void)
 새로운 Light 객체를 생성한다. More...
 
void DestroyLight (Light this_gen)
 생성한 Light 객체를 소멸 시킨다. More...
 
bool addLightCallback (Light this_gen, sensor_callback sensorCallback, int timeinterval, void *data)
 생성한 Light에 callback 함수를 등록한다. More...
 
bool detachLightCallback (Light this_gen)
 생성한 Light에서 callback 함수를 삭제한다. More...
 
bool LightOn (Light this_gen)
 생성한 Light를 활성화 시킨다. More...
 
bool LightOff (Light this_gen)
 생성한 Light를 비활성화 시킨다. More...
 
bool isLightSupported (Light this_gen)
 Light의 사용 가능 여부를 판단한다. More...
 
Light_data getLightValue (Light this_gen)
 활성화 되어 있는 Light의 센서 값을 반환한다. More...
 
Proximity NewProximity (void)
 새로운 Proximity 객체를 생성한다. More...
 
void DestroyProximity (Proximity this_gen)
 생성한 Proximity 객체를 소멸 시킨다. More...
 
bool addProximityCallback (Proximity this_gen, sensor_callback sensorCallback, int timeinterval, void *data)
 생성한 Proximity에 callback 함수를 등록한다. More...
 
bool detachProximityCallback (Proximity this_gen)
 생성한 Proximity에서 callback 함수를 삭제한다. More...
 
bool ProximityOn (Proximity this_gen)
 생성한 Proximity를 활성화 시킨다. More...
 
bool ProximityOff (Proximity this_gen)
 생성한 Proximity를 비활성화 시킨다. More...
 
bool isProximitySupported (Proximity this_gen)
 Proximity의 사용 가능 여부를 판단한다. More...
 
Proximity_data getProximityValue (Proximity this_gen)
 활성화 되어 있는 Proximity의 센서 값을 반환한다. More...
 
Pressure NewPressure (void)
 새로운 Pressure 객체를 생성한다. More...
 
void DestroyPressure (Pressure this_gen)
 생성한 Pressure 객체를 소멸 시킨다. More...
 
bool addPressureCallback (Pressure this_gen, sensor_callback sensorCallback, int timeinterval, void *data)
 생성한 Pressure에 callback 함수를 등록한다. More...
 
bool detachPressureCallback (Pressure this_gen)
 생성한 Pressure에서 callback 함수를 삭제한다. More...
 
bool PressureOn (Pressure this_gen)
 생성한 Pressure를 활성화 시킨다. More...
 
bool PressureOff (Pressure this_gen)
 생성한 Pressure를 비활성화 시킨다. More...
 
bool isPressureSupported (Pressure this_gen)
 Pressure의 사용 가능 여부를 판단한다. More...
 
Pressure_data getPressureValue (Pressure this_gen)
 활성화 되어 있는 Pressure의 센서 값을 반환한다. More...
 
UltraViolet NewUltraViolet (void)
 새로운 UltraViolet 객체를 생성한다. More...
 
void DestroyUltraViolet (UltraViolet this_gen)
 생성한 UltraViolet 객체를 소멸 시킨다. More...
 
bool addUltraVioletCallback (UltraViolet this_gen, sensor_callback sensorCallback, int timeinterval, void *data)
 생성한 UltraViolet에 callback 함수를 등록한다. More...
 
bool detachUltraVioletCallback (UltraViolet this_gen)
 생성한 UltraViolet에서 callback 함수를 삭제한다. More...
 
bool UltraVioletOn (UltraViolet this_gen)
 생성한 UltraViolet를 활성화 시킨다. More...
 
bool UltraVioletOff (UltraViolet this_gen)
 생성한 UltraViolet를 비활성화 시킨다. More...
 
bool isUltraVioletSupported (UltraViolet this_gen)
 UltraViolet의 사용 가능 여부를 판단한다. More...
 
UltraViolet_data getUltraVioletValue (UltraViolet this_gen)
 활성화 되어 있는 UltraViolet의 센서 값을 반환한다. More...
 
Temperature NewTemperature (void)
 새로운 Temperature 객체를 생성한다. More...
 
void DestroyTemperature (Temperature this_gen)
 생성한 Temperature 객체를 소멸 시킨다. More...
 
bool addTemperatureCallback (Temperature this_gen, sensor_callback sensorCallback, int timeinterval, void *data)
 생성한 Temperature에 callback 함수를 등록한다. More...
 
bool detachTemperatureCallback (Temperature this_gen)
 생성한 Temperature에서 callback 함수를 삭제한다. More...
 
bool TemperatureOn (Temperature this_gen)
 생성한 Temperature를 활성화 시킨다. More...
 
bool TemperatureOff (Temperature this_gen)
 생성한 Temperature를 비활성화 시킨다. More...
 
bool isTemperatureSupported (Temperature this_gen)
 Temperature의 사용 가능 여부를 판단한다. More...
 
Temperature_data getTemperatureValue (Temperature this_gen)
 활성화 되어 있는 Temperature의 센서 값을 반환한다. More...
 
Humidity NewHumidity (void)
 새로운 Humidity 객체를 생성한다. More...
 
void DestroyHumidity (Humidity this_gen)
 생성한 Humidity 객체를 소멸 시킨다. More...
 
bool addHumidityCallback (Humidity this_gen, sensor_callback sensorCallback, int timeinterval, void *data)
 생성한 Humidity에 callback 함수를 등록한다. More...
 
bool detachHumidityCallback (Humidity this_gen)
 생성한 Humidity에서 callback 함수를 삭제한다. More...
 
bool HumidityOn (Humidity this_gen)
 생성한 Humidity를 활성화 시킨다. More...
 
bool HumidityOff (Humidity this_gen)
 생성한 Humidity를 비활성화 시킨다. More...
 
bool isHumiditySupported (Humidity this_gen)
 Humidity의 사용 가능 여부를 판단한다. More...
 
Humidity_data getHumidityValue (Humidity this_gen)
 활성화 되어 있는 Humidity의 센서 값을 반환한다. More...
 

Detailed Description

Sensor API 를 사용하기 위해 포함해야 하는 헤더이다.

Note
Sensor의 다양한 센서의 addCallback / detachCallback / On / Off / isSupported / getValue API를 제공한다.
See Also
Tizen Native API

Data Structure Documentation

struct _3d_data
Collaboration diagram for Gyroscope_data:
Collaboration graph
Data Fields
int accuracy
unsigned long long int timestamp
int value_count
float x
float y
float z
struct RotationVector_data
Collaboration diagram for RotationVector_data:
Collaboration graph
Data Fields
int accuracy
unsigned long long int timestamp
int value_count
float w
float x
float y
float z
struct Light_data
Collaboration diagram for Light_data:
Collaboration graph
Data Fields
int accuracy
float level
unsigned long long int timestamp
int value_count
struct Proximity_data
Collaboration diagram for Proximity_data:
Collaboration graph
Data Fields
int accuracy
float proximity
unsigned long long int timestamp
int value_count
struct Pressure_data
Collaboration diagram for Pressure_data:
Collaboration graph
Data Fields
int accuracy
float hPa
unsigned long long int timestamp
int value_count
struct UltraViolet_data
Collaboration diagram for UltraViolet_data:
Collaboration graph
Data Fields
int accuracy
unsigned long long int timestamp
float uvindex
int value_count
struct Temperature_data
Collaboration diagram for Temperature_data:
Collaboration graph
Data Fields
int accuracy
float celsius
unsigned long long int timestamp
int value_count
struct Humidity_data
Collaboration diagram for Humidity_data:
Collaboration graph
Data Fields
int accuracy
float percent
unsigned long long int timestamp
int value_count
struct AccelerometerExtend
Collaboration diagram for AccelerometerExtend:
Collaboration graph
Data Fields
struct _Accelerometer accelerometer
bool activated
sensor_listener_h listener
sensor_h sensor
sensor_type_e type
struct GravityExtend
Collaboration diagram for GravityExtend:
Collaboration graph
Data Fields
bool activated
struct _Gravity gravity
sensor_listener_h listener
sensor_h sensor
sensor_type_e type
struct LinearAccelationExtend
Collaboration diagram for LinearAccelationExtend:
Collaboration graph
Data Fields
bool activated
struct _LinearAccelation linearaccelation
sensor_listener_h listener
sensor_h sensor
sensor_type_e type
struct MagnetometerExtend
Collaboration diagram for MagnetometerExtend:
Collaboration graph
Data Fields
bool activated
sensor_listener_h listener
struct _Magnetometer magnetometer
sensor_h sensor
sensor_type_e type
struct RotationVectorExtend
Collaboration diagram for RotationVectorExtend:
Collaboration graph
Data Fields
bool activated
sensor_listener_h listener
struct _RotationVector rotationvector
sensor_h sensor
sensor_type_e type
struct OrientationExtend
Collaboration diagram for OrientationExtend:
Collaboration graph
Data Fields
bool activated
sensor_listener_h listener
struct _Orientation orientation
sensor_h sensor
sensor_type_e type
struct GyroscopeExtend
Collaboration diagram for GyroscopeExtend:
Collaboration graph
Data Fields
bool activated
struct _Gyroscope gyroscope
sensor_listener_h listener
sensor_h sensor
sensor_type_e type
struct LightExtend
Collaboration diagram for LightExtend:
Collaboration graph
Data Fields
bool activated
struct _Light light
sensor_listener_h listener
sensor_h sensor
sensor_type_e type
struct ProximityExtend
Collaboration diagram for ProximityExtend:
Collaboration graph
Data Fields
bool activated
sensor_listener_h listener
struct _Proximity proximity
sensor_h sensor
sensor_type_e type
struct PressureExtend
Collaboration diagram for PressureExtend:
Collaboration graph
Data Fields
bool activated
sensor_listener_h listener
struct _Pressure pressure
sensor_h sensor
sensor_type_e type
struct UltraVioletExtend
Collaboration diagram for UltraVioletExtend:
Collaboration graph
Data Fields
bool activated
sensor_listener_h listener
sensor_h sensor
sensor_type_e type
struct _UltraViolet ultraviolet
struct TemperatureExtend
Collaboration diagram for TemperatureExtend:
Collaboration graph
Data Fields
bool activated
sensor_listener_h listener
sensor_h sensor
struct _Temperature temperature
sensor_type_e type
struct HumidityExtend
Collaboration diagram for HumidityExtend:
Collaboration graph
Data Fields
bool activated
struct _Humidity humidity
sensor_listener_h listener
sensor_h sensor
sensor_type_e type

Function Documentation

bool AccelerometerOff ( Accelerometer  this_gen)

생성한 Accelerometer를 비활성화 시킨다.

Parameters
[in]this_gen비활성화 시킬 Accelerometer 객체
[out]null
Return values
bool
함수의 성공 여부를 반환한다.
실패시 false를 반환하며 상세한 원인을 Log로 출력한다.
Note
생성한 Accelerometer를 비활성화 시킨다.
See Also
NewAccelerometer
DestroyAccelerometer
addAccelerometerCallback
detachAccelerometerCallback
AccelerometerOn
isAccelerometerSupported
getAccelerometerValue
Precondition
feature

Here is the caller graph for this function:

bool AccelerometerOn ( Accelerometer  this_gen)

생성한 Accelerometer를 활성화 시킨다.

Parameters
[in]this_gen활성화 시킬 Accelerometer 객체
[out]null
Return values
bool
함수의 성공 여부를 반환한다.
실패시 false를 반환하며 상세한 원인을 Log로 출력한다.
Note
생성한 Accelerometer를 활성화 시킨다.
See Also
NewAccelerometer
DestroyAccelerometer
addAccelerometerCallback
detachAccelerometerCallback
AccelerometerOff
isAccelerometerSupported
getAccelerometerValue
Precondition
feature

Here is the caller graph for this function:

bool addAccelerometerCallback ( Accelerometer  this_gen,
sensor_callback  sensorCallback,
int  timeinterval,
void *  data 
)

생성한 Accelerometer에 callback 함수를 등록한다.

Parameters
[in]this_gencallback 함수를 등록할 Accelerometer 객체
[in]sensorCallback등록할 callback 함수
[in]timeintervalcallback 함수가 수행될 시간 간격
[in]datacallback 함수에 전달될 사용자 data 주소
[out]datacallback 함수에 전달될 사용자 data
Return values
bool
함수의 성공 여부를 반환한다.
실패시 false를 반환하며 상세한 원인을 Log로 출력한다.
Note
생성한 Accelerometer에 callback 함수를 등록한다.
interval 의 단위는 milliseconds 이며 만약 0 으로 설정하면 기본 값인 100ms로 설정된다.
See Also
NewAccelerometer
DestroyAccelerometer
detachAccelerometerCallback
AccelerometerOn
AccelerometerOff
isAccelerometerSupported
getAccelerometerValue
Precondition
feature

Here is the call graph for this function:

Here is the caller graph for this function:

bool addGravityCallback ( Gravity  this_gen,
sensor_callback  sensorCallback,
int  timeinterval,
void *  data 
)

생성한 Gravity에 callback 함수를 등록한다.

Parameters
[in]this_gencallback 함수를 등록할 Gravity 객체
[in]sensorCallback등록할 callback 함수
[in]timeintervalcallback 함수가 수행될 시간 간격
[in]datacallback 함수에 전달될 사용자 data 주소
[out]datacallback 함수에 전달될 사용자 data
Return values
bool
함수의 성공 여부를 반환한다.
실패시 false를 반환하며 상세한 원인을 Log로 출력한다.
Note
생성한 Gravity에 callback 함수를 등록한다.
interval 의 단위는 milliseconds 이며 만약 0 으로 설정하면 기본 값인 100ms로 설정된다.
See Also
NewGravity
DestroyGravity
detachGravityCallback
GravityOn
GravityOff
isGravitySupported
getGravityValue
Precondition
feature

Here is the call graph for this function:

Here is the caller graph for this function:

bool addGyroscopeCallback ( Gyroscope  this_gen,
sensor_callback  sensorCallback,
int  timeinterval,
void *  data 
)

생성한 Gyroscope에 callback 함수를 등록한다.

Parameters
[in]this_gencallback 함수를 등록할 Gyroscope 객체
[in]sensorcallback 등록할 callback 함수
[in]voiceintervalcallback 함수가 수행될 시간 간격
[in]datacallback 함수에 전달될 사용자 data 주소
[out]datacallback 함수에 전달될 사용자 data
Return values
bool
함수의 성공 여부를 반환한다.
실패시 false를 반환하며 상세한 원인을 Log로 출력한다.
Note
생성한 Gyroscope에 callback 함수를 등록한다.
interval 의 단위는 milliseconds 이며 만약 0 으로 설정하면 기본 값인 100ms로 설정된다.
See Also
NewGyroscope
DestroyGyroscope
detachGyroscopeCallback
GyroscopeOn
GyroscopeOff
isGyroscopeSupported
getGyroscopeValue
Precondition
feature
http://tizen.org/feature/sensor.gyroscope

Here is the call graph for this function:

Here is the caller graph for this function:

bool addHumidityCallback ( Humidity  this_gen,
sensor_callback  sensorCallback,
int  timeinterval,
void *  data 
)

생성한 Humidity에 callback 함수를 등록한다.

Parameters
[in]this_gencallback 함수를 등록할 Humidity 객체
[in]sensorcallback 등록할 callback 함수
[in]voiceintervalcallback 함수가 수행될 시간 간격
[in]datacallback 함수에 전달될 사용자 data 주소
[out]datacallback 함수에 전달될 사용자 data
Return values
bool
함수의 성공 여부를 반환한다.
실패시 false를 반환하며 상세한 원인을 Log로 출력한다.
Note
생성한 Humidity에 callback 함수를 등록한다.
interval 의 단위는 milliseconds 이며 만약 0 으로 설정하면 기본 값인 100ms로 설정된다.
See Also
NewHumidity
DestroyHumidity
detachHumidityCallback
HumidityOn
HumidityOff
isHumiditySupported
getHumidityValue
Precondition
feature

Here is the call graph for this function:

Here is the caller graph for this function:

bool addLightCallback ( Light  this_gen,
sensor_callback  sensorCallback,
int  timeinterval,
void *  data 
)

생성한 Light에 callback 함수를 등록한다.

Parameters
[in]this_gencallback 함수를 등록할 Light 객체
[in]sensorcallback 등록할 callback 함수
[in]voiceintervalcallback 함수가 수행될 시간 간격
[in]datacallback 함수에 전달될 사용자 data 주소
[out]datacallback 함수에 전달될 사용자 data
Return values
bool
함수의 성공 여부를 반환한다.
실패시 false를 반환하며 상세한 원인을 Log로 출력한다.
Note
생성한 Light에 callback 함수를 등록한다.
interval 의 단위는 milliseconds 이며 만약 0 으로 설정하면 기본 값인 100ms로 설정된다.
See Also
NewLight
DestroyLight
detachLightCallback
LightOn
LightOff
isLightSupported
getLightValue
Precondition
feature

Here is the call graph for this function:

Here is the caller graph for this function:

bool addLinearAccelationCallback ( LinearAccelation  this_gen,
sensor_callback  sensorCallback,
int  timeenterval,
void *  data 
)

생성한 LinearAccelation에 callback 함수를 등록한다.

Parameters
[in]this_gencallback 함수를 등록할 LinearAccelation 객체
[in]sensorcallback 등록할 callback 함수
[in]timeintervalcallback 함수가 수행될 시간 간격
[in]datacallback 함수에 전달될 사용자 data 주소
[out]datacallback 함수에 전달될 사용자 data
Return values
bool
함수의 성공 여부를 반환한다.
실패시 false를 반환하며 상세한 원인을 Log로 출력한다.
Note
생성한 LinearAccelation에 callback 함수를 등록한다.
interval 의 단위는 milliseconds 이며 만약 0 으로 설정하면 기본 값인 100ms로 설정된다.
See Also
NewLinearAccelation
DestroyLinearAccelation
detachLinearAccelationCallback
LinearAccelationOn
LinearAccelationOff
isLinearAccelationSupported
getLinearAccelationValue
Precondition
feature

Here is the call graph for this function:

Here is the caller graph for this function:

bool addMagnetometerCallback ( Magnetometer  this_gen,
sensor_callback  sensorCallback,
int  timeenterval,
void *  data 
)

생성한 Magnetometer에 callback 함수를 등록한다.

Parameters
[in]this_gencallback 함수를 등록할 Magnetometer 객체
[in]sensorcallback 등록할 callback 함수
[in]timeintervalcallback 함수가 수행될 시간 간격
[in]datacallback 함수에 전달될 사용자 data 주소
[out]datacallback 함수에 전달될 사용자 data
Return values
bool
함수의 성공 여부를 반환한다.
실패시 false를 반환하며 상세한 원인을 Log로 출력한다.
Note
생성한 Magnetometer에 callback 함수를 등록한다.
interval 의 단위는 milliseconds 이며 만약 0 으로 설정하면 기본 값인 100ms로 설정된다.
See Also
NewMagnetometer
DestroyMagnetometer
detachMagnetometerCallback
MagnetometerOn
MagnetometerOff
isMagnetometerSupported
getMagnetometerValue
Precondition
feature

Here is the call graph for this function:

Here is the caller graph for this function:

bool addOrientationCallback ( Orientation  this_gen,
sensor_callback  sensorCallback,
int  timeinterval,
void *  data 
)

생성한 Orientation에 callback 함수를 등록한다.

Parameters
[in]this_gencallback 함수를 등록할 Orientation 객체
[in]sensorcallback 등록할 callback 함수
[in]voiceintervalcallback 함수가 수행될 시간 간격
[in]datacallback 함수에 전달될 사용자 data 주소
[out]datacallback 함수에 전달될 사용자 data
Return values
bool
함수의 성공 여부를 반환한다.
실패시 false를 반환하며 상세한 원인을 Log로 출력한다.
Note
생성한 Orientation에 callback 함수를 등록한다.
interval 의 단위는 milliseconds 이며 만약 0 으로 설정하면 기본 값인 100ms로 설정된다.
See Also
NewOrientation
DestroyOrientation
detachOrientationCallback
OrientationOn
OrientationOff
isOrientationSupported
getOrientationValue
Precondition
feature

Here is the call graph for this function:

Here is the caller graph for this function:

bool addPressureCallback ( Pressure  this_gen,
sensor_callback  sensorCallback,
int  timeinterval,
void *  data 
)

생성한 Pressure에 callback 함수를 등록한다.

Parameters
[in]this_gencallback 함수를 등록할 Pressure 객체
[in]sensorcallback 등록할 callback 함수
[in]voiceintervalcallback 함수가 수행될 시간 간격
[in]datacallback 함수에 전달될 사용자 data 주소
[out]datacallback 함수에 전달될 사용자 data
Return values
bool
함수의 성공 여부를 반환한다.
실패시 false를 반환하며 상세한 원인을 Log로 출력한다.
Note
생성한 Pressure에 callback 함수를 등록한다.
interval 의 단위는 milliseconds 이며 만약 0 으로 설정하면 기본 값인 100ms로 설정된다.
See Also
NewPressure
DestroyPressure
detachPressureCallback
PressureOn
PressureOff
isPressureSupported
getPressureValue
Precondition
feature

Here is the call graph for this function:

Here is the caller graph for this function:

bool addProximityCallback ( Proximity  this_gen,
sensor_callback  sensorCallback,
int  timeinterval,
void *  data 
)

생성한 Proximity에 callback 함수를 등록한다.

Parameters
[in]this_gencallback 함수를 등록할 Proximity 객체
[in]sensorcallback 등록할 callback 함수
[in]voiceintervalcallback 함수가 수행될 시간 간격
[in]datacallback 함수에 전달될 사용자 data 주소
[out]datacallback 함수에 전달될 사용자 data
Return values
bool
함수의 성공 여부를 반환한다.
실패시 false를 반환하며 상세한 원인을 Log로 출력한다.
Note
생성한 Proximity에 callback 함수를 등록한다.
interval 의 단위는 milliseconds 이며 만약 0 으로 설정하면 기본 값인 100ms로 설정된다.
See Also
NewProximity
DestroyProximity
detachProximityCallback
ProximityOn
ProximityOff
isProximitySupported
getProximityValue
Precondition
feature

Here is the call graph for this function:

Here is the caller graph for this function:

bool addRotationVectorCallback ( RotationVector  this_gen,
sensor_callback  sensorCallback,
int  timeinterval,
void *  data 
)

생성한 RotationVector에 callback 함수를 등록한다.

Parameters
[in]this_gencallback 함수를 등록할 RotationVector 객체
[in]sensorcallback 등록할 callback 함수
[in]timeintervalcallback 함수가 수행될 시간 간격
[in]datacallback 함수에 전달될 사용자 data 주소
[out]datacallback 함수에 전달될 사용자 data
Return values
bool
함수의 성공 여부를 반환한다.
실패시 false를 반환하며 상세한 원인을 Log로 출력한다.
Note
생성한 RotationVector에 callback 함수를 등록한다.
interval 의 단위는 milliseconds 이며 만약 0 으로 설정하면 기본 값인 100ms로 설정된다.
See Also
NewRotationVector
DestroyRotationVector
detachRotationVectorCallback
RotationVectorOn
RotationVectorOff
isRotationVectorSupported
getRotationVectorValue
Precondition
feature

Here is the call graph for this function:

Here is the caller graph for this function:

bool addTemperatureCallback ( Temperature  this_gen,
sensor_callback  sensorCallback,
int  timeinterval,
void *  data 
)

생성한 Temperature에 callback 함수를 등록한다.

Parameters
[in]this_gencallback 함수를 등록할 Temperature 객체
[in]sensorcallback 등록할 callback 함수
[in]voiceintervalcallback 함수가 수행될 시간 간격
[in]datacallback 함수에 전달될 사용자 data 주소
[out]datacallback 함수에 전달될 사용자 data
Return values
bool
함수의 성공 여부를 반환한다.
실패시 false를 반환하며 상세한 원인을 Log로 출력한다.
Note
생성한 Temperature에 callback 함수를 등록한다.
interval 의 단위는 milliseconds 이며 만약 0 으로 설정하면 기본 값인 100ms로 설정된다.
See Also
NewTemperature
DestroyTemperature
detachTemperatureCallback
TemperatureOn
TemperatureOff
isTemperatureSupported
getTemperatureValue
Precondition
feature

Here is the call graph for this function:

Here is the caller graph for this function:

bool addUltraVioletCallback ( UltraViolet  this_gen,
sensor_callback  sensorCallback,
int  timeinterval,
void *  data 
)

생성한 UltraViolet에 callback 함수를 등록한다.

Parameters
[in]this_gencallback 함수를 등록할 UltraViolet 객체
[in]sensorcallback 등록할 callback 함수
[in]voiceintervalcallback 함수가 수행될 시간 간격
[in]datacallback 함수에 전달될 사용자 data 주소
[out]datacallback 함수에 전달될 사용자 data
Return values
bool
함수의 성공 여부를 반환한다.
실패시 false를 반환하며 상세한 원인을 Log로 출력한다.
Note
생성한 UltraViolet에 callback 함수를 등록한다.
interval 의 단위는 milliseconds 이며 만약 0 으로 설정하면 기본 값인 100ms로 설정된다.
See Also
NewUltraViolet
DestroyUltraViolet
detachUltraVioletCallback
UltraVioletOn
UltraVioletOff
isUltraVioletSupported
getUltraVioletValue
Precondition
feature

Here is the call graph for this function:

Here is the caller graph for this function:

void DestroyAccelerometer ( Accelerometer  this_gen)

생성한 Accelerometer 객체를 소멸 시킨다.

Parameters
[in]this_gen소멸시킬 Accelerometer 객체
[out]null
Return values
void
Note
생성한 Accelerometer 객체를 소멸 시킨다.
Accelerometer 객체를 사용한 후 반드시 호출해야 한다.
See Also
NewAccelerometer
Precondition
feature
void DestroyGravity ( Gravity  this_gen)

생성한 Gravity 객체를 소멸 시킨다.

Parameters
[in]this_gen소멸시킬 Gravity 객체
[out]null
Return values
void
Note
생성한 Gravity 객체를 소멸 시킨다.
Gravity 객체를 사용한 후 반드시 호출해야 한다.
See Also
NewGravity
Precondition
feature
void DestroyGyroscope ( Gyroscope  this_gen)

생성한 Gyroscope 객체를 소멸 시킨다.

Parameters
[in]this_gen소멸시킬 Gyroscope 객체
[out]null
Return values
void
Note
생성한 Gyroscope 객체를 소멸 시킨다.
Gyroscope 객체를 사용한 후 반드시 호출해야 한다.
See Also
NewGyroscope
Precondition
feature
http://tizen.org/feature/sensor.gyroscope
void DestroyHumidity ( Humidity  this_gen)

생성한 Humidity 객체를 소멸 시킨다.

Parameters
[in]this_gen소멸시킬 Humidity 객체
[out]null
Return values
void
Note
생성한 Humidity 객체를 소멸 시킨다.
Humidity 객체를 사용한 후 반드시 호출해야 한다.
See Also
NewHumidity
Precondition
feature
void DestroyLight ( Light  this_gen)

생성한 Light 객체를 소멸 시킨다.

Parameters
[in]this_gen소멸시킬 Light 객체
[out]null
Return values
void
Note
생성한 Light 객체를 소멸 시킨다.
Light 객체를 사용한 후 반드시 호출해야 한다.
See Also
NewLight
Precondition
feature
void DestroyLinearAccelation ( LinearAccelation  this_gen)

생성한 LinearAccelation 객체를 소멸 시킨다.

Parameters
[in]this_gen소멸시킬 LinearAccelation 객체
[out]null
Return values
void
Note
생성한 LinearAccelation 객체를 소멸 시킨다.
LinearAccelation 객체를 사용한 후 반드시 호출해야 한다.
See Also
NewLinearAccelation
Precondition
feature
void DestroyMagnetometer ( Magnetometer  this_gen)

생성한 Magnetometer 객체를 소멸 시킨다.

Parameters
[in]this_gen소멸시킬 Magnetometer 객체
[out]null
Return values
void
Note
생성한 Magnetometer 객체를 소멸 시킨다.
Magnetometer 객체를 사용한 후 반드시 호출해야 한다.
See Also
NewMagnetometer
Precondition
feature
void DestroyOrientation ( Orientation  this_gen)

생성한 Orientation 객체를 소멸 시킨다.

Parameters
[in]this_gen소멸시킬 Orientation 객체
[out]null
Return values
void
Note
생성한 Orientation 객체를 소멸 시킨다.
Orientation 객체를 사용한 후 반드시 호출해야 한다.
See Also
NewOrientation
Precondition
feature
void DestroyPressure ( Pressure  this_gen)
void DestroyProximity ( Proximity  this_gen)

생성한 Proximity 객체를 소멸 시킨다.

Parameters
[in]this_gen소멸시킬 Proximity 객체
[out]null
Return values
void
Note
생성한 Proximity 객체를 소멸 시킨다.
Proximity 객체를 사용한 후 반드시 호출해야 한다.
See Also
NewProximity
Precondition
feature
void DestroyRotationVector ( RotationVector  this_gen)

생성한 RotationVector 객체를 소멸 시킨다.

Parameters
[in]this_gen소멸시킬 RotationVector 객체
[out]null
Return values
void
Note
생성한 RotationVector 객체를 소멸 시킨다.
RotationVector 객체를 사용한 후 반드시 호출해야 한다.
See Also
NewRotationVector
Precondition
feature
void DestroyTemperature ( Temperature  this_gen)

생성한 Temperature 객체를 소멸 시킨다.

Parameters
[in]this_gen소멸시킬 Temperature 객체
[out]null
Return values
void
Note
생성한 Temperature 객체를 소멸 시킨다.
Temperature 객체를 사용한 후 반드시 호출해야 한다.
See Also
NewTemperature
Precondition
feature
void DestroyUltraViolet ( UltraViolet  this_gen)

생성한 UltraViolet 객체를 소멸 시킨다.

Parameters
[in]this_gen소멸시킬 UltraViolet 객체
[out]null
Return values
void
Note
생성한 UltraViolet 객체를 소멸 시킨다.
UltraViolet 객체를 사용한 후 반드시 호출해야 한다.
See Also
NewUltraViolet
Precondition
feature
bool detachAccelerometerCallback ( Accelerometer  this_gen)

생성한 Accelerometer에서 callback 함수를 삭제한다.

Parameters
[in]this_gencallback 함수를 삭제할 Accelerometer 객체
[out]null
Return values
bool
함수의 성공 여부를 반환한다.
실패시 false를 반환하며 상세한 원인을 Log로 출력한다.
Note
생성한 Accelerometer에서 callback 함수를 삭제한다.
See Also
NewAccelerometer
DestroyAccelerometer
addAccelerometerCallback
AccelerometerOn
AccelerometerOff
isAccelerometerSupported
getAccelerometerValue
Precondition
feature

Here is the call graph for this function:

Here is the caller graph for this function:

bool detachGravityCallback ( Gravity  this_gen)

생성한 Gravity에서 callback 함수를 삭제한다.

Parameters
[in]this_gencallback 함수를 삭제할 Gravity 객체
[out]null
Return values
bool
함수의 성공 여부를 반환한다.
실패시 false를 반환하며 상세한 원인을 Log로 출력한다.
Note
생성한 Gravity에서 callback 함수를 삭제한다.
See Also
NewGravity
DestroyGravity
addGravityCallback
GravityOn
GravityOff
isGravitySupported
getGravityValue
Precondition
feature

Here is the call graph for this function:

Here is the caller graph for this function:

bool detachGyroscopeCallback ( Gyroscope  this_gen)

생성한 Gyroscope에서 callback 함수를 삭제한다.

Parameters
[in]this_gencallback 함수를 삭제할 Gyroscope 객체
[out]null
Return values
bool
함수의 성공 여부를 반환한다.
실패시 false를 반환하며 상세한 원인을 Log로 출력한다.
Note
생성한 Gyroscope에서 callback 함수를 삭제한다.
See Also
NewGyroscope
DestroyGyroscope
addGyroscopeCallback
GyroscopeOn
GyroscopeOff
isGyroscopeSupported
getGyroscopeValue
Precondition
feature
http://tizen.org/feature/sensor.gyroscope

Here is the call graph for this function:

Here is the caller graph for this function:

bool detachHumidityCallback ( Humidity  this_gen)

생성한 Humidity에서 callback 함수를 삭제한다.

Parameters
[in]this_gencallback 함수를 삭제할 Humidity 객체
[out]null
Return values
bool
함수의 성공 여부를 반환한다.
실패시 false를 반환하며 상세한 원인을 Log로 출력한다.
Note
생성한 Humidity에서 callback 함수를 삭제한다.
See Also
NewHumidity
DestroyHumidity
addHumidityCallback
HumidityOn
HumidityOff
isHumiditySupported
getHumidityValue
Precondition
feature

Here is the call graph for this function:

Here is the caller graph for this function:

bool detachLightCallback ( Light  this_gen)

생성한 Light에서 callback 함수를 삭제한다.

Parameters
[in]this_gencallback 함수를 삭제할 Light 객체
[out]null
Return values
bool
함수의 성공 여부를 반환한다.
실패시 false를 반환하며 상세한 원인을 Log로 출력한다.
Note
생성한 Light에서 callback 함수를 삭제한다.
See Also
NewLight
DestroyLight
addLightCallback
LightOn
LightOff
isLightSupported
getLightValue
Precondition
feature

Here is the call graph for this function:

Here is the caller graph for this function:

bool detachLinearAccelationCallback ( LinearAccelation  this_gen)

생성한 LinearAccelation에서 callback 함수를 삭제한다.

Parameters
[in]this_gencallback 함수를 삭제할 LinearAccelation 객체
[out]null
Return values
bool
함수의 성공 여부를 반환한다.
실패시 false를 반환하며 상세한 원인을 Log로 출력한다.
Note
생성한 LinearAccelation에서 callback 함수를 삭제한다.
See Also
NewLinearAccelation
DestroyLinearAccelation
addLinearAccelationCallback
LinearAccelationOn
LinearAccelationOff
isLinearAccelationSupported
getLinearAccelationValue
Precondition
feature

Here is the call graph for this function:

Here is the caller graph for this function:

bool detachMagnetometerCallback ( Magnetometer  this_gen)

생성한 Magnetometer에서 callback 함수를 삭제한다.

Parameters
[in]this_gencallback 함수를 삭제할 Magnetometer 객체
[out]null
Return values
bool
함수의 성공 여부를 반환한다.
실패시 false를 반환하며 상세한 원인을 Log로 출력한다.
Note
생성한 Magnetometer에서 callback 함수를 삭제한다.
See Also
NewMagnetometer
DestroyMagnetometer
addMagnetometerCallback
MagnetometerOn
MagnetometerOff
isMagnetometerSupported
getMagnetometerValue
Precondition
feature

Here is the call graph for this function:

Here is the caller graph for this function:

bool detachOrientationCallback ( Orientation  this_gen)

생성한 Orientation에서 callback 함수를 삭제한다.

Parameters
[in]this_gencallback 함수를 삭제할 Orientation 객체
[out]null
Return values
bool
함수의 성공 여부를 반환한다.
실패시 false를 반환하며 상세한 원인을 Log로 출력한다.
Note
생성한 Orientation에서 callback 함수를 삭제한다.
See Also
NewOrientation
DestroyOrientation
addOrientationCallback
OrientationOn
OrientationOff
isOrientationSupported
getOrientationValue
Precondition
feature

Here is the call graph for this function:

Here is the caller graph for this function:

bool detachPressureCallback ( Pressure  this_gen)

생성한 Pressure에서 callback 함수를 삭제한다.

Parameters
[in]this_gencallback 함수를 삭제할 Pressure 객체
[out]null
Return values
bool
함수의 성공 여부를 반환한다.
실패시 false를 반환하며 상세한 원인을 Log로 출력한다.
Note
생성한 Pressure에서 callback 함수를 삭제한다.
See Also
NewPressure
DestroyPressure
addPressureCallback
PressureOn
PressureOff
isPressureSupported
getPressureValue
Precondition
feature

Here is the call graph for this function:

Here is the caller graph for this function:

bool detachProximityCallback ( Proximity  this_gen)

생성한 Proximity에서 callback 함수를 삭제한다.

Parameters
[in]this_gencallback 함수를 삭제할 Proximity 객체
[out]null
Return values
bool
함수의 성공 여부를 반환한다.
실패시 false를 반환하며 상세한 원인을 Log로 출력한다.
Note
생성한 Proximity에서 callback 함수를 삭제한다.
See Also
NewProximity
DestroyProximity
addProximityCallback
ProximityOn
ProximityOff
isProximitySupported
getProximityValue
Precondition
feature

Here is the call graph for this function:

Here is the caller graph for this function:

bool detachRotationVectorCallback ( RotationVector  this_gen)

생성한 RotationVector에서 callback 함수를 삭제한다.

Parameters
[in]this_gencallback 함수를 삭제할 RotationVector 객체
[out]null
Return values
bool
함수의 성공 여부를 반환한다.
실패시 false를 반환하며 상세한 원인을 Log로 출력한다.
Note
생성한 RotationVector에서 callback 함수를 삭제한다.
See Also
NewRotationVector
DestroyRotationVector
addRotationVectorCallback
RotationVectorOn
RotationVectorOff
isRotationVectorSupported
getRotationVectorValue
Precondition
feature

Here is the call graph for this function:

Here is the caller graph for this function:

bool detachTemperatureCallback ( Temperature  this_gen)

생성한 Temperature에서 callback 함수를 삭제한다.

Parameters
[in]this_gencallback 함수를 삭제할 Temperature 객체
[out]null
Return values
bool
함수의 성공 여부를 반환한다.
실패시 false를 반환하며 상세한 원인을 Log로 출력한다.
Note
생성한 Temperature에서 callback 함수를 삭제한다.
See Also
NewTemperature
DestroyTemperature
addTemperatureCallback
TemperatureOn
TemperatureOff
isTemperatureSupported
getTemperatureValue
Precondition
feature

Here is the call graph for this function:

Here is the caller graph for this function:

bool detachUltraVioletCallback ( UltraViolet  this_gen)

생성한 UltraViolet에서 callback 함수를 삭제한다.

Parameters
[in]this_gencallback 함수를 삭제할 UltraViolet 객체
[out]null
Return values
bool
함수의 성공 여부를 반환한다.
실패시 false를 반환하며 상세한 원인을 Log로 출력한다.
Note
생성한 UltraViolet에서 callback 함수를 삭제한다.
See Also
NewUltraViolet
DestroyUltraViolet
addUltraVioletCallback
UltraVioletOn
UltraVioletOff
isUltraVioletSupported
getUltraVioletValue
Precondition
feature

Here is the call graph for this function:

Here is the caller graph for this function:

Accelerometer_data getAccelerometerValue ( Accelerometer  this_gen)

활성화 되어 있는 Accelerometer의 센서 값을 반환한다.

Parameters
[in]this_gen센서 값을 받을 Accelerometer 객체
[out]null
Return values
Accelerometer_dataAccelerometer의 센서 값
Note
활성화 되어 있는 Accelerometer의 센서 값을 반환한다.
See Also
NewAccelerometer
DestroyAccelerometer
addAccelerometerCallback
detachAccelerometerCallback
AccelerometerOn
AccelerometerOff
isAccelerometerSupported
Precondition
feature

Here is the call graph for this function:

Here is the caller graph for this function:

Gravity_data getGravityValue ( Gravity  this_gen)

활성화 되어 있는 Gravity의 센서 값을 반환한다.

Parameters
[in]this_gen센서 값을 받을 Gravity 객체
[out]null
Return values
Gravity_dataGravity의 센서 값
Note
활성화 되어 있는 Gravity의 센서 값을 반환한다.
See Also
NewGravity
DestroyGravity
addGravityCallback
detachGravityCallback
GravityOn
GravityOff
isGravitySupported
Precondition
feature

Here is the call graph for this function:

Here is the caller graph for this function:

Gyroscope_data getGyroscopeValue ( Gyroscope  this_gen)

활성화 되어 있는 Gyroscope의 센서 값을 반환한다.

Parameters
[in]this_gen센서 값을 받을 Gyroscope 객체
[out]null
Return values
Gyroscope_dataGyroscope의 센서 값
Note
활성화 되어 있는 Gyroscope의 센서 값을 반환한다.
See Also
NewGyroscope
DestroyGyroscope
addGyroscopeCallback
detachGyroscopeCallback
GyroscopeOn
GyroscopeOff
isGyroscopeSupported
Precondition
feature
http://tizen.org/feature/sensor.gyroscope

Here is the call graph for this function:

Here is the caller graph for this function:

Humidity_data getHumidityValue ( Humidity  this_gen)

활성화 되어 있는 Humidity의 센서 값을 반환한다.

Parameters
[in]this_gen센서 값을 받을 Humidity 객체
[out]null
Return values
Humidity_dataHumidity의 센서 값
Note
활성화 되어 있는 Humidity의 센서 값을 반환한다.
See Also
NewHumidity
DestroyHumidity
addHumidityCallback
detachHumidityCallback
HumidityOn
HumidityOff
isHumiditySupported
Precondition
feature

Here is the call graph for this function:

Here is the caller graph for this function:

Light_data getLightValue ( Light  this_gen)

활성화 되어 있는 Light의 센서 값을 반환한다.

Parameters
[in]this_gen센서 값을 받을 Light 객체
[out]null
Return values
Light_dataLight의 센서 값
Note
활성화 되어 있는 Light의 센서 값을 반환한다.
See Also
NewLight
DestroyLight
addLightCallback
detachLightCallback
LightOn
LightOff
isLightSupported
Precondition
feature

Here is the call graph for this function:

Here is the caller graph for this function:

LinearAccelation_data getLinearAccelationValue ( LinearAccelation  this_gen)

활성화 되어 있는 LinearAccelation의 센서 값을 반환한다.

Parameters
[in]this_gen센서 값을 받을 LinearAccelation 객체
[out]null
Return values
LinearAccelation_dataLinearAccelation의 센서 값
Note
활성화 되어 있는 LinearAccelation의 센서 값을 반환한다.
See Also
NewLinearAccelation
DestroyLinearAccelation
addLinearAccelationCallback
detachLinearAccelationCallback
LinearAccelationOn
LinearAccelationOff
isAccelerometerSupported
Precondition
feature

Here is the call graph for this function:

Here is the caller graph for this function:

Magnetometer_data getMagnetometerValue ( Magnetometer  this_gen)

활성화 되어 있는 Magnetometer의 센서 값을 반환한다.

Parameters
[in]this_gen센서 값을 받을 Magnetometer 객체
[out]null
Return values
Magnetometer_dataMagnetometer의 센서 값
Note
활성화 되어 있는 Magnetometer의 센서 값을 반환한다.
See Also
NewMagnetometer
DestroyMagnetometer
addMagnetometerCallback
detachMagnetometerCallback
MagnetometerOn
MagnetometerOff
isMagnetometerSupported
Precondition
feature

Here is the call graph for this function:

Here is the caller graph for this function:

Orientation_data getOrientationValue ( Orientation  this_gen)

활성화 되어 있는 Orientation의 센서 값을 반환한다.

Parameters
[in]this_gen센서 값을 받을 Orientation 객체
[out]null
Return values
Orientation_dataOrientation의 센서 값
Note
활성화 되어 있는 Orientation의 센서 값을 반환한다.
See Also
NewOrientation
DestroyOrientation
addOrientationCallback
detachOrientationCallback
OrientationOn
OrientationOff
isOrientationSupported
Precondition
feature

Here is the call graph for this function:

Here is the caller graph for this function:

Pressure_data getPressureValue ( Pressure  this_gen)
Proximity_data getProximityValue ( Proximity  this_gen)

활성화 되어 있는 Proximity의 센서 값을 반환한다.

Parameters
[in]this_gen센서 값을 받을 Proximity 객체
[out]null
Return values
Proximity_dataProximity의 센서 값
Note
활성화 되어 있는 Proximity의 센서 값을 반환한다.
See Also
NewProximity
DestroyProximity
addProximityCallback
detachProximityCallback
ProximityOn
ProximityOff
isProximitySupported
Precondition
feature

Here is the call graph for this function:

Here is the caller graph for this function:

RotationVector_data getRotationVectorValue ( RotationVector  this_gen)

활성화 되어 있는 RotationVector의 센서 값을 반환한다.

Parameters
[in]this_gen센서 값을 받을 RotationVector 객체
[out]null
Return values
RotationVector_dataRotationVector의 센서 값
Note
활성화 되어 있는 RotationVector의 센서 값을 반환한다.
See Also
NewRotationVector
DestroyRotationVector
addRotationVectorCallback
detachRotationVectorCallback
RotationVectorOn
RotationVectorOff
isRotationVectorSupported
Precondition
feature

Here is the call graph for this function:

Here is the caller graph for this function:

Temperature_data getTemperatureValue ( Temperature  this_gen)

활성화 되어 있는 Temperature의 센서 값을 반환한다.

Parameters
[in]this_gen센서 값을 받을 Temperature 객체
[out]null
Return values
Temperature_dataTemperature의 센서 값
Note
활성화 되어 있는 Temperature의 센서 값을 반환한다.
See Also
NewTemperature
DestroyTemperature
addTemperatureCallback
detachTemperatureCallback
TemperatureOn
TemperatureOff
isTemperatureSupported
Precondition
feature

Here is the call graph for this function:

Here is the caller graph for this function:

UltraViolet_data getUltraVioletValue ( UltraViolet  this_gen)

활성화 되어 있는 UltraViolet의 센서 값을 반환한다.

Parameters
[in]this_gen센서 값을 받을 UltraViolet 객체
[out]null
Return values
UltraViolet_dataUltraViolet의 센서 값
Note
활성화 되어 있는 UltraViolet의 센서 값을 반환한다.
See Also
NewUltraViolet
DestroyUltraViolet
addUltraVioletCallback
detachUltraVioletCallback
UltraVioletOn
UltraVioletOff
isUltraVioletSupported
Precondition
feature

Here is the call graph for this function:

Here is the caller graph for this function:

bool GravityOff ( Gravity  this_gen)

생성한 Gravity를 비활성화 시킨다.

Parameters
[in]this_gen비활성화 시킬 Gravity 객체
[out]null
Return values
bool
함수의 성공 여부를 반환한다.
실패시 false를 반환하며 상세한 원인을 Log로 출력한다.
Note
생성한 Gravity를 비활성화 시킨다.
See Also
NewGravity
DestroyGravity
addGravityCallback
detachGravityCallback
GravityOn
isGravitySupported
getGravityValue
Precondition
feature

Here is the caller graph for this function:

bool GravityOn ( Gravity  this_gen)

생성한 Gravity를 활성화 시킨다.

Parameters
[in]this_gen활성화 시킬 Gravity 객체
[out]null
Return values
bool
함수의 성공 여부를 반환한다.
실패시 false를 반환하며 상세한 원인을 Log로 출력한다.
Note
생성한 Gravity를 활성화 시킨다.
See Also
NewGravity
DestroyGravity
addGravityCallback
detachGravityCallback
GravityOff
isGravitySupported
getGravityValue
Precondition
feature

Here is the caller graph for this function:

bool GyroscopeOff ( Gyroscope  this_gen)

생성한 Gyroscope를 비활성화 시킨다.

Parameters
[in]this_gen비활성화 시킬 Gyroscope 객체
[out]null
Return values
bool
함수의 성공 여부를 반환한다.
실패시 false를 반환하며 상세한 원인을 Log로 출력한다.
Note
생성한 Gyroscope를 비활성화 시킨다.
See Also
NewGyroscope
DestroyGyroscope
addGyroscopeCallback
detachGyroscopeCallback
GyroscopeOn
isGyroscopeSupported
getGyroscopeValue
Precondition
feature
http://tizen.org/feature/sensor.gyroscope

Here is the caller graph for this function:

bool GyroscopeOn ( Gyroscope  this_gen)

생성한 Gyroscope를 활성화 시킨다.

Parameters
[in]this_gen활성화 시킬 Gyroscope 객체
[out]null
Return values
bool
함수의 성공 여부를 반환한다.
실패시 false를 반환하며 상세한 원인을 Log로 출력한다.
Note
생성한 Gyroscope를 활성화 시킨다.
See Also
NewGyroscope
DestroyGyroscope
addGyroscopeCallback
detachGyroscopeCallback
GyroscopeOff
isGyroscopeSupported
getGyroscopeValue
Precondition
feature
http://tizen.org/feature/sensor.gyroscope

Here is the caller graph for this function:

bool HumidityOff ( Humidity  this_gen)

생성한 Humidity를 비활성화 시킨다.

Parameters
[in]this_gen비활성화 시킬 Humidity 객체
[out]null
Return values
bool
함수의 성공 여부를 반환한다.
실패시 false를 반환하며 상세한 원인을 Log로 출력한다.
Note
생성한 Humidity를 비활성화 시킨다.
See Also
NewHumidity
DestroyHumidity
addHumidityCallback
detachHumidityCallback
HumidityOn
isHumiditySupported
getHumidityValue
Precondition
feature

Here is the caller graph for this function:

bool HumidityOn ( Humidity  this_gen)

생성한 Humidity를 활성화 시킨다.

Parameters
[in]this_gen활성화 시킬 Humidity 객체
[out]null
Return values
bool
함수의 성공 여부를 반환한다.
실패시 false를 반환하며 상세한 원인을 Log로 출력한다.
Note
생성한 Humidity를 활성화 시킨다.
See Also
NewHumidity
DestroyHumidity
addHumidityCallback
detachHumidityCallback
HumidityOff
isHumiditySupported
getHumidityValue
Precondition
feature

Here is the caller graph for this function:

bool isAccelerometerSupported ( Accelerometer  this_gen)

Accelerometer의 사용 가능 여부를 판단한다.

Parameters
[in]this_gen사용 가능 여부를 판단할 Accelerometer 객체
[out]null
Return values
bool
함수의 성공 여부를 반환한다.
실패시 false를 반환하며 상세한 원인을 Log로 출력한다.
Note
Accelerometer의 사용 가능 여부를 판단한다.
See Also
NewAccelerometer
DestroyAccelerometer
addAccelerometerCallback
detachAccelerometerCallback
AccelerometerOn
AccelerometerOff
getAccelerometerValue
Precondition
feature

Here is the call graph for this function:

Here is the caller graph for this function:

bool isGravitySupported ( Gravity  this_gen)

Gravity의 사용 가능 여부를 판단한다.

Parameters
[in]this_gen사용 가능 여부를 판단할 Gravity 객체
[out]null
Return values
bool
함수의 성공 여부를 반환한다.
실패시 false를 반환하며 상세한 원인을 Log로 출력한다.\
Note
Gravity의 사용 가능 여부를 판단한다.
See Also
NewGravity
DestroyGravity
addGravityCallback
detachGravityCallback
GravityOn
GravityOff
getGravityValue
Precondition
feature

Here is the call graph for this function:

Here is the caller graph for this function:

bool isGyroscopeSupported ( Gyroscope  this_gen)

Gyroscope의 사용 가능 여부를 판단한다.

Parameters
[in]this_gen사용 가능 여부를 판단할 Gyroscope 객체
[out]null
Return values
bool
함수의 성공 여부를 반환한다.
실패시 false를 반환하며 상세한 원인을 Log로 출력한다.
Note
Gyroscope의 사용 가능 여부를 판단한다.
See Also
NewGyroscope
DestroyGyroscope
addGyroscopeCallback
detachGyroscopeCallback
GyroscopeOn
GyroscopeOff
getGyroscopeValue
Precondition
feature
http://tizen.org/feature/sensor.gyroscope

Here is the call graph for this function:

Here is the caller graph for this function:

bool isHumiditySupported ( Humidity  this_gen)

Humidity의 사용 가능 여부를 판단한다.

Parameters
[in]this_gen사용 가능 여부를 판단할 Humidity 객체
[out]null
Return values
bool
함수의 성공 여부를 반환한다.
실패시 false를 반환하며 상세한 원인을 Log로 출력한다.
Note
Humidity의 사용 가능 여부를 판단한다.
See Also
NewHumidity
DestroyHumidity
addHumidityCallback
detachHumidityCallback
HumidityOn
HumidityOff
getHumidityValue
Precondition
feature

Here is the call graph for this function:

Here is the caller graph for this function:

bool isLightSupported ( Light  this_gen)

Light의 사용 가능 여부를 판단한다.

Parameters
[in]this_gen사용 가능 여부를 판단할 Light 객체
[out]null
Return values
bool
함수의 성공 여부를 반환한다.
실패시 false를 반환하며 상세한 원인을 Log로 출력한다.
Note
Light의 사용 가능 여부를 판단한다.
See Also
NewLight
DestroyLight
addLightCallback
detachLightCallback
LightOn
LightOff
getLightValue
Precondition
feature

Here is the call graph for this function:

Here is the caller graph for this function:

bool isLinearAccelationSupported ( LinearAccelation  this_gen)

LinearAccelation의 사용 가능 여부를 판단한다.

Parameters
[in]this_gen사용 가능 여부를 판단할 LinearAccelation 객체
[out]null
Return values
bool
함수의 성공 여부를 반환한다.
실패시 false를 반환하며 상세한 원인을 Log로 출력한다.
Note
LinearAccelation의 사용 가능 여부를 판단한다.
See Also
NewLinearAccelation
DestroyLinearAccelation
addLinearAccelationCallback
detachLinearAccelationCallback
LinearAccelationOn
LinearAccelationOff
getLinearAccelationValue
Precondition
feature

Here is the call graph for this function:

Here is the caller graph for this function:

bool isMagnetometerSupported ( Magnetometer  this_gen)

Magnetometer의 사용 가능 여부를 판단한다.

Parameters
[in]this_gen사용 가능 여부를 판단할 Magnetometer 객체
[out]null
Return values
bool
함수의 성공 여부를 반환한다.
실패시 false를 반환하며 상세한 원인을 Log로 출력한다.
Note
Magnetometer의 사용 가능 여부를 판단한다.
See Also
NewMagnetometer
DestroyMagnetometer
addMagnetometerCallback
detachMagnetometerCallback
MagnetometerOn
MagnetometerOff
getMagnetometerValue
Precondition
feature

Here is the call graph for this function:

Here is the caller graph for this function:

bool isOrientationSupported ( Orientation  this_gen)

Orientation의 사용 가능 여부를 판단한다.

Parameters
[in]this_gen사용 가능 여부를 판단할 Orientation 객체
[out]null
Return values
bool
함수의 성공 여부를 반환한다.
실패시 false를 반환하며 상세한 원인을 Log로 출력한다.
Note
Orientation의 사용 가능 여부를 판단한다.
See Also
NewOrientation
DestroyOrientation
addOrientationCallback
detachOrientationCallback
OrientationOn
OrientationOff
getOrientationValue
Precondition
feature

Here is the call graph for this function:

Here is the caller graph for this function:

bool isPressureSupported ( Pressure  this_gen)

Pressure의 사용 가능 여부를 판단한다.

Parameters
[in]this_gen사용 가능 여부를 판단할 Pressure 객체
[out]null
Return values
bool
함수의 성공 여부를 반환한다.
실패시 false를 반환하며 상세한 원인을 Log로 출력한다.
Note
Pressure의 사용 가능 여부를 판단한다.
See Also
NewPressure
DestroyPressure
addPressureCallback
detachPressureCallback
PressureOn
PressureOff
getPressureValue
Precondition
feature

Here is the call graph for this function:

Here is the caller graph for this function:

bool isProximitySupported ( Proximity  this_gen)

Proximity의 사용 가능 여부를 판단한다.

Parameters
[in]this_gen사용 가능 여부를 판단할 Proximity 객체
[out]null
Return values
bool
함수의 성공 여부를 반환한다.
실패시 false를 반환하며 상세한 원인을 Log로 출력한다.
Note
Proximity의 사용 가능 여부를 판단한다.
See Also
NewProximity
DestroyProximity
addProximityCallback
detachProximityCallback
ProximityOn
ProximityOff
getProximityValue
Precondition
feature

Here is the call graph for this function:

Here is the caller graph for this function:

bool isRotationVectorSupported ( RotationVector  this_gen)

RotationVector의 사용 가능 여부를 판단한다.

Parameters
[in]this_gen사용 가능 여부를 판단할 RotationVector 객체
[out]null
Return values
bool
함수의 성공 여부를 반환한다.
실패시 false를 반환하며 상세한 원인을 Log로 출력한다.
Note
RotationVector의 사용 가능 여부를 판단한다.
See Also
NewRotationVector
DestroyRotationVector
addRotationVectorCallback
detachRotationVectorCallback
RotationVectorOn
RotationVectorOff
getRotationVectorValue
Precondition
feature

Here is the call graph for this function:

Here is the caller graph for this function:

bool isTemperatureSupported ( Temperature  this_gen)

Temperature의 사용 가능 여부를 판단한다.

Parameters
[in]this_gen사용 가능 여부를 판단할 Temperature 객체
[out]null
Return values
bool
함수의 성공 여부를 반환한다.
실패시 false를 반환하며 상세한 원인을 Log로 출력한다.
Note
Temperature의 사용 가능 여부를 판단한다.
See Also
NewTemperature
DestroyTemperature
addTemperatureCallback
detachTemperatureCallback
TemperatureOn
TemperatureOff
getTemperatureValue
Precondition
feature

Here is the call graph for this function:

Here is the caller graph for this function:

bool isUltraVioletSupported ( UltraViolet  this_gen)

UltraViolet의 사용 가능 여부를 판단한다.

Parameters
[in]this_gen사용 가능 여부를 판단할 UltraViolet 객체
[out]null
Return values
bool
함수의 성공 여부를 반환한다.
실패시 false를 반환하며 상세한 원인을 Log로 출력한다.
Note
UltraViolet의 사용 가능 여부를 판단한다.
See Also
NewUltraViolet
DestroyUltraViolet
addUltraVioletCallback
detachUltraVioletCallback
UltraVioletOn
UltraVioletOff
getUltraVioletValue
Precondition
feature

Here is the call graph for this function:

Here is the caller graph for this function:

bool LightOff ( Light  this_gen)

생성한 Light를 비활성화 시킨다.

Parameters
[in]this_gen비활성화 시킬 Light 객체
[out]null
Return values
bool
함수의 성공 여부를 반환한다.
실패시 false를 반환하며 상세한 원인을 Log로 출력한다.
Note
생성한 Light를 비활성화 시킨다.
See Also
NewLight
DestroyLight
addLightCallback
detachLightCallback
LightOn
isLightSupported
getLightValue
Precondition
feature

Here is the caller graph for this function:

bool LightOn ( Light  this_gen)

생성한 Light를 활성화 시킨다.

Parameters
[in]this_gen활성화 시킬 Light 객체
[out]null
Return values
bool
함수의 성공 여부를 반환한다.
실패시 false를 반환하며 상세한 원인을 Log로 출력한다.
Note
생성한 Light를 활성화 시킨다.
See Also
NewLight
DestroyLight
addLightCallback
detachLightCallback
LightOff
isLightSupported
getLightValue
Precondition
feature

Here is the caller graph for this function:

bool LinearAccelationOff ( LinearAccelation  this_gen)

생성한 LinearAccelation를 비활성화 시킨다.

Parameters
[in]this_gen비활성화 시킬 LinearAccelation 객체
[out]null
Return values
bool
함수의 성공 여부를 반환한다.
실패시 false를 반환하며 상세한 원인을 Log로 출력한다.
Note
생성한 LinearAccelation를 비활성화 시킨다.
See Also
NewLinearAccelation
DestroyLinearAccelation
addLinearAccelationCallback
detachLinearAccelationCallback
LinearAccelationOn
isLinearAccelationSupported
getLinearAccelationValue
Precondition
feature

Here is the caller graph for this function:

bool LinearAccelationOn ( LinearAccelation  this_gen)

생성한 LinearAccelation를 활성화 시킨다.

Parameters
[in]this_gen활성화 시킬 LinearAccelation 객체
[out]null
Return values
bool
함수의 성공 여부를 반환한다.
실패시 false를 반환하며 상세한 원인을 Log로 출력한다.
Note
생성한 LinearAccelation를 활성화 시킨다.
See Also
NewLinearAccelation
DestroyLinearAccelation
addLinearAccelationCallback
detachLinearAccelationCallback
LinearAccelationOff
isLinearAccelationSupported
getLinearAccelationValue
Precondition
feature

Here is the caller graph for this function:

bool MagnetometerOff ( Magnetometer  this_gen)

생성한 Magnetometer를 비활성화 시킨다.

Parameters
[in]this_gen비활성화 시킬 Magnetometer 객체
[out]null
Return values
bool
함수의 성공 여부를 반환한다.
실패시 false를 반환하며 상세한 원인을 Log로 출력한다.
Note
생성한 Magnetometer를 비활성화 시킨다.
See Also
NewMagnetometer
DestroyMagnetometer
addMagnetometerCallback
detachMagnetometerCallback
MagnetometerOn
isMagnetometerSupported
getMagnetometerValue
Precondition
feature

Here is the caller graph for this function:

bool MagnetometerOn ( Magnetometer  this_gen)

생성한 Magnetometer를 활성화 시킨다.

Parameters
[in]this_gen활성화 시킬 Magnetometer 객체
[out]null
Return values
bool
함수의 성공 여부를 반환한다.
실패시 false를 반환하며 상세한 원인을 Log로 출력한다.
Note
생성한 Magnetometer를 활성화 시킨다.
See Also
NewMagnetometer
DestroyMagnetometer
addMagnetometerCallback
detachMagnetometerCallback
MagnetometerOff
isMagnetometerSupported
getMagnetometerValue
Precondition
feature

Here is the caller graph for this function:

Accelerometer NewAccelerometer ( void  )

새로운 Accelerometer 객체를 생성한다.

Parameters
[in]void
[out]null
Return values
Accelerometer
Note
새로운 Accelerometer 객체를 생성한다.
Accelerometer 객체를 사용하기 전에 반드시 호출해야 한다.
See Also
DestroyAccelerometer
addAccelerometerCallback
detachAccelerometerCallback
AccelerometerOn
AccelerometerOff
isAccelerometerSupported
getAccelerometerValue
Precondition
feature
Warning
사용이 끝났을 때 DestroyAccelerometer() 함수를 꼭 사용해야 한다.
Accelerometer NewAccelerometer (void)
{
AccelerometerExtend * this = malloc (sizeof (AccelerometerExtend));
this->accelerometer.Off = AccelerometerOff;
this->accelerometer.On = AccelerometerOn;
this->accelerometer.addCallback = addAccelerometerCallback;
this->accelerometer.getValue = getAccelerometerValue;
this->accelerometer.isSupported = isAccelerometerSupported;
this->accelerometer.detachCallback = detachAccelerometerCallback;
this->type = SENSOR_ACCELEROMETER;
this->listener = NULL;
this->sensor = NULL;
this->activated = false;
sensor_get_default_sensor (this->type, &this->sensor);
sensor_create_listener (this->sensor, &this->listener);
return &this->accelerometer;
}

Here is the call graph for this function:

Gravity NewGravity ( void  )

새로운 Gravity 객체를 생성한다.

Parameters
[in]void
[out]null
Return values
Gravity
Note
새로운 Gravity 객체를 생성한다.
Gravity 객체를 사용하기 전에 반드시 호출해야 한다.
See Also
DestroyGravity
addGravityCallback
detachGravityCallback
GravityOn
GravityOff
isGravitySupported
getGravityValue
Precondition
feature
Warning
사용이 끝났을 때 DestroyGravity() 함수를 꼭 사용해야 한다.
Gravity NewGravity (void)
{
GravityExtend * this = malloc (sizeof (GravityExtend));
this->gravity.Off = GravityOff;
this->gravity.On = GravityOn;
this->gravity.addCallback = addGravityCallback;
this->gravity.getValue = getGravityValue;
this->gravity.isSupported = isGravitySupported;
this->gravity.detachCallback = detachGravityCallback;
this->type = SENSOR_GRAVITY;
this->listener = NULL;
this->sensor = NULL;
sensor_get_default_sensor (this->type, &this->sensor);
sensor_create_listener (this->sensor, &this->listener);
return &this->gravity;
}

Here is the call graph for this function:

Gyroscope NewGyroscope ( void  )

새로운 Gyroscope 객체를 생성한다.

Parameters
[in]void
[out]null
Return values
Gyroscope
Note
새로운 Gyroscope 객체를 생성한다.
Gyroscope 객체를 사용하기 전에 반드시 호출해야 한다.
See Also
DestroyGyroscope
addGyroscopeCallback
detachGyroscopeCallback
GyroscopeOn
GyroscopeOff
isGyroscopeSupported
getGyroscopeValue
Precondition
feature
http://tizen.org/feature/sensor.gyroscope
Warning
사용이 끝났을 때 DestroyGyroscope() 함수를 꼭 사용해야 한다.
Gyroscope NewGyroscope (void)
{
GyroscopeExtend * this = malloc (sizeof (GyroscopeExtend));
this->gyroscope.Off = GyroscopeOff;
this->gyroscope.On = GyroscopeOn;
this->gyroscope.addCallback = addGyroscopeCallback;
this->gyroscope.getValue = getGyroscopeValue;
this->gyroscope.isSupported = isGyroscopeSupported;
this->gyroscope.detachCallback = detachGyroscopeCallback;
this->type = SENSOR_GYROSCOPE;
this->listener = NULL;
this->sensor = NULL;
sensor_create_listener (this->sensor, &this->listener);
sensor_listener_start (this->listener);
return &this->gyroscope;
}

Here is the call graph for this function:

Humidity NewHumidity ( void  )

새로운 Humidity 객체를 생성한다.

Parameters
[in]void
[out]null
Return values
Humidity
Note
새로운 Humidity 객체를 생성한다.
Humidity 객체를 사용하기 전에 반드시 호출해야 한다.
See Also
DestroyHumidity
addHumidityCallback
detachHumidityCallback
HumidityOn
HumidityOff
isHumiditySupported
getHumidityValue
Precondition
feature
Warning
사용이 끝났을 때 DestroyHumidity() 함수를 꼭 사용해야 한다.
Humidity NewHumidity (void)
{
HumidityExtend * this = malloc (sizeof (HumidityExtend));
this->humidity.Off = HumidityOff;
this->humidity.On = HumidityOn;
this->humidity.addCallback = addHumidityCallback;
this->humidity.getValue = getHumidityValue;
this->humidity.isSupported = isHumiditySupported;
this->humidity.detachCallback = detachHumidityCallback;
this->type = SENSOR_HUMIDITY;
this->listener = NULL;
this->sensor = NULL;
sensor_get_default_sensor (this->type, &this->sensor);
sensor_create_listener (this->sensor, &this->listener);
return &this->humidity;
}

Here is the call graph for this function:

Light NewLight ( void  )

새로운 Light 객체를 생성한다.

Parameters
[in]void
[out]null
Return values
Light
Note
새로운 Light 객체를 생성한다.
Light 객체를 사용하기 전에 반드시 호출해야 한다.
See Also
DestroyLight
addLightCallback
detachLightCallback
LightOn
LightOff
isLightSupported
getLightValue
Precondition
feature
Warning
사용이 끝났을 때 DestroyLight() 함수를 꼭 사용해야 한다.
Light NewLight (void)
{
LightExtend * this = malloc (sizeof (LightExtend));
this->light.Off = LightOff;
this->light.On = LightOn;
this->light.addCallback = addLightCallback;
this->light.getValue = getLightValue;
this->light.isSupported = isLightSupported;
this->light.detachCallback = detachLightCallback;
this->type = SENSOR_LIGHT;
this->listener = NULL;
this->sensor = NULL;
sensor_get_default_sensor (this->type, &this->sensor);
sensor_create_listener (this->sensor, &this->listener);
return &this->light;
}

Here is the call graph for this function:

LinearAccelation NewLinearAccelation ( void  )

새로운 LinearAccelation 객체를 생성한다.

Parameters
[in]void
[out]null
Return values
LinearAccelation
Note
새로운 LinearAccelation 객체를 생성한다.
AcceleLinearAccelationrometer 객체를 사용하기 전에 반드시 호출해야 한다.
See Also
DestroyLinearAccelation
addLinearAccelationCallback
detachLinearAccelationCallback
LinearAccelationOn
LinearAccelationOff
isLinearAccelationSupported
getLinearAccelationValue
Precondition
feature
Warning
사용이 끝났을 때 DestroyLinearAccelation() 함수를 꼭 사용해야 한다.
LinearAccelation NewLinearAccelation (void)
{
LinearAccelationExtend * this = malloc (sizeof (LinearAccelationExtend));
this->linearaccelation.Off = LinearAccelationOff;
this->linearaccelation.On = LinearAccelationOn;
this->linearaccelation.addCallback = addLinearAccelationCallback;
this->linearaccelation.getValue = getLinearAccelationValue;
this->linearaccelation.isSupported = isLinearAccelationSupported;
this->linearaccelation.detachCallback = detachLinearAccelationCallback;
this->type = SENSOR_LINEAR_ACCELERATION;
this->listener = NULL;
this->sensor = NULL;
sensor_get_default_sensor (this->type, &this->sensor);
sensor_create_listener (this->sensor, &this->listener);
return &this->linearaccelation;
}

Here is the call graph for this function:

Magnetometer NewMagnetometer ( void  )

새로운 Magnetometer 객체를 생성한다.

Parameters
[in]void
[out]null
Return values
Magnetometer
Note
새로운 Magnetometer 객체를 생성한다.
Magnetometer 객체를 사용하기 전에 반드시 호출해야 한다.
See Also
DestroyMagnetometer
addMagnetometerCallback
detachMagnetometerCallback
MagnetometerOn
MagnetometerOff
isMagnetometerSupported
getMagnetometerValue
Precondition
feature
Warning
사용이 끝났을 때 DestroyMagnetometer() 함수를 꼭 사용해야 한다.
Magnetometer NewMagnetometer (void)
{
MagnetometerExtend * this = malloc (sizeof (MagnetometerExtend));
this->magnetometer.Off = MagnetometerOff;
this->magnetometer.On = MagnetometerOn;
this->magnetometer.addCallback = addMagnetometerCallback;
this->magnetometer.getValue = getMagnetometerValue;
this->magnetometer.isSupported = isMagnetometerSupported;
this->magnetometer.detachCallback = detachMagnetometerCallback;
this->type = SENSOR_MAGNETIC;
this->listener = NULL;
this->sensor = NULL;
sensor_get_default_sensor (this->type, &this->sensor);
sensor_create_listener (this->sensor, &this->listener);
return &this->magnetometer;
}

Here is the call graph for this function:

Orientation NewOrientation ( void  )

새로운 Orientation 객체를 생성한다.

Parameters
[in]void
[out]null
Return values
Orientation
Note
새로운 Orientation 객체를 생성한다.
Orientation 객체를 사용하기 전에 반드시 호출해야 한다.
See Also
DestroyOrientation
addOrientationCallback
detachOrientationCallback
OrientationOn
OrientationOff
isOrientationSupported
getOrientationValue
Precondition
feature
Warning
사용이 끝났을 때 DestroyOrientation() 함수를 꼭 사용해야 한다.
Orientation NewOrientation (void)
{
OrientationExtend * this = malloc (sizeof (OrientationExtend));
this->orientation.Off = OrientationOff;
this->orientation.On = OrientationOn;
this->orientation.addCallback = addOrientationCallback;
this->orientation.getValue = getOrientationValue;
this->orientation.isSupported = isOrientationSupported;
this->orientation.detachCallback = detachOrientationCallback;
this->type = SENSOR_ORIENTATION;
this->listener = NULL;
this->sensor = NULL;
sensor_get_default_sensor (this->type, &this->sensor);
sensor_create_listener (this->sensor, &this->listener);
return &this->orientation;
}

Here is the call graph for this function:

Pressure NewPressure ( void  )

새로운 Pressure 객체를 생성한다.

Parameters
[in]void
[out]null
Return values
Pressure
Note
새로운 Pressure 객체를 생성한다.
Pressure 객체를 사용하기 전에 반드시 호출해야 한다.
See Also
DestroyPressure
addPressureCallback
detachPressureCallback
PressureOn
PressureOff
isPressureSupported
getPressureValue
Precondition
feature
Warning
사용이 끝났을 때 DestroyPressure() 함수를 꼭 사용해야 한다.
Pressure Sensor의 경우 device에 있는 다양한 센서들을 조합해서 사용하므로 모든 Sensor를 추가해야 한다.
Pressure NewPressure (void)
{
PressureExtend * this = malloc (sizeof (PressureExtend));
this->pressure.Off = PressureOff;
this->pressure.On = PressureOn;
this->pressure.addCallback = addPressureCallback;
this->pressure.getValue = getPressureValue;
this->pressure.isSupported = isPressureSupported;
this->pressure.detachCallback = detachPressureCallback;
this->type = SENSOR_PRESSURE;
this->listener = NULL;
this->sensor = NULL;
sensor_get_default_sensor (this->type, &this->sensor);
sensor_create_listener (this->sensor, &this->listener);
return &this->pressure;
}

Here is the call graph for this function:

Proximity NewProximity ( void  )

새로운 Proximity 객체를 생성한다.

Parameters
[in]void
[out]null
Return values
Proximity
Note
새로운 Proximity 객체를 생성한다.
Proximity 객체를 사용하기 전에 반드시 호출해야 한다.
See Also
DestroyProximity
addProximityCallback
detachProximityCallback
ProximityOn
ProximityOff
isProximitySupported
getProximityValue
Precondition
feature
Warning
사용이 끝났을 때 DestroyProximity() 함수를 꼭 사용해야 한다.
Proximity NewProximity (void)
{
ProximityExtend * this = malloc (sizeof (ProximityExtend));
this->proximity.Off = ProximityOff;
this->proximity.On = ProximityOn;
this->proximity.addCallback = addProximityCallback;
this->proximity.getValue = getProximityValue;
this->proximity.isSupported = isProximitySupported;
this->proximity.detachCallback = detachProximityCallback;
this->type = SENSOR_PROXIMITY;
this->listener = NULL;
this->sensor = NULL;
sensor_get_default_sensor (this->type, &this->sensor);
sensor_create_listener (this->sensor, &this->listener);
return &this->proximity;
}

Here is the call graph for this function:

RotationVector NewRotationVector ( void  )

새로운 RotationVector 객체를 생성한다.

Parameters
[in]void
[out]null
Return values
RotationVector
Note
새로운 RotationVector 객체를 생성한다.
RotationVector 객체를 사용하기 전에 반드시 호출해야 한다.
See Also
DestroyRotationVector
addRotationVectorCallback
detachRotationVectorCallback
RotationVectorOn
RotationVectorOff
isRotationVectorSupported
getRotationVectorValue
Precondition
feature
Warning
사용이 끝났을 때 DestroyRotationVector() 함수를 꼭 사용해야 한다.
RotationVector NewRotationVector (void)
{
RotationVectorExtend * this = malloc (sizeof (RotationVectorExtend));
this->rotationvector.Off = RotationVectorOff;
this->rotationvector.On = RotationVectorOn;
this->rotationvector.addCallback = addRotationVectorCallback;
this->rotationvector.getValue = getRotationVectorValue;
this->rotationvector.isSupported = isRotationVectorSupported;
this->rotationvector.detachCallback = detachRotationVectorCallback;
this->type = SENSOR_ROTATION_VECTOR;
this->listener = NULL;
this->sensor = NULL;
sensor_get_default_sensor (this->type, &this->sensor);
sensor_create_listener (this->sensor, &this->listener);
return &this->rotationvector;
}

Here is the call graph for this function:

Temperature NewTemperature ( void  )

새로운 Temperature 객체를 생성한다.

Parameters
[in]void
[out]null
Return values
Temperature
Note
새로운 Temperature 객체를 생성한다.
Temperature 객체를 사용하기 전에 반드시 호출해야 한다.
See Also
DestroyTemperature
addTemperatureCallback
detachTemperatureCallback
TemperatureOn
TemperatureOff
isTemperatureSupported
getTemperatureValue
Precondition
feature
Warning
사용이 끝났을 때 DestroyTemperature() 함수를 꼭 사용해야 한다.
Temperature NewTemperature (void)
{
TemperatureExtend * this = malloc (sizeof (TemperatureExtend));
this->temperature.Off = TemperatureOff;
this->temperature.On = TemperatureOn;
this->temperature.addCallback = addTemperatureCallback;
this->temperature.getValue = getTemperatureValue;
this->temperature.isSupported = isTemperatureSupported;
this->temperature.detachCallback = detachTemperatureCallback;
this->type = SENSOR_TEMPERATURE;
this->listener = NULL;
this->sensor = NULL;
sensor_get_default_sensor (this->type, &this->sensor);
sensor_create_listener (this->sensor, &this->listener);
return &this->temperature;
}

Here is the call graph for this function:

UltraViolet NewUltraViolet ( void  )

새로운 UltraViolet 객체를 생성한다.

Parameters
[in]void
[out]null
Return values
UltraViolet
Note
새로운 UltraViolet 객체를 생성한다.
UltraViolet 객체를 사용하기 전에 반드시 호출해야 한다.
See Also
DestroyUltraViolet
addUltraVioletCallback
detachUltraVioletCallback
UltraVioletOn
UltraVioletOff
isUltraVioletSupported
getUltraVioletValue
Precondition
feature
Warning
사용이 끝났을 때 DestroyUltraViolet() 함수를 꼭 사용해야 한다.
UltraViolet NewUltraViolet (void)
{
UltraVioletExtend * this = malloc (sizeof (UltraVioletExtend));
this->ultraviolet.Off = UltraVioletOff;
this->ultraviolet.On = UltraVioletOn;
this->ultraviolet.addCallback = addUltraVioletCallback;
this->ultraviolet.getValue = getUltraVioletValue;
this->ultraviolet.isSupported = isUltraVioletSupported;
this->ultraviolet.detachCallback = detachUltraVioletCallback;
this->type = SENSOR_ULTRAVIOLET;
this->listener = NULL;
this->sensor = NULL;
sensor_get_default_sensor (this->type, &this->sensor);
sensor_create_listener (this->sensor, &this->listener);
return &this->ultraviolet;
}

Here is the call graph for this function:

bool OrientationOff ( Orientation  this_gen)

생성한 Orientation를 비활성화 시킨다.

Parameters
[in]this_gen비활성화 시킬 Orientation 객체
[out]null
Return values
bool
함수의 성공 여부를 반환한다.
실패시 false를 반환하며 상세한 원인을 Log로 출력한다.
Note
생성한 Orientation를 비활성화 시킨다.
See Also
NewOrientation
DestroyOrientation
addOrientationCallback
detachOrientationCallback
OrientationOn
isOrientationSupported
getOrientationValue
Precondition
feature

Here is the caller graph for this function:

bool OrientationOn ( Orientation  this_gen)

생성한 Orientation를 활성화 시킨다.

Parameters
[in]this_gen활성화 시킬 Orientation 객체
[out]null
Return values
bool
함수의 성공 여부를 반환한다.
실패시 false를 반환하며 상세한 원인을 Log로 출력한다.
Note
생성한 Orientation를 활성화 시킨다.
See Also
NewOrientation
DestroyOrientation
addOrientationCallback
detachOrientationCallback
OrientationOff
isOrientationSupported
getOrientationValue
Precondition
feature

Here is the caller graph for this function:

bool PressureOff ( Pressure  this_gen)
bool PressureOn ( Pressure  this_gen)
bool ProximityOff ( Proximity  this_gen)

생성한 Proximity를 비활성화 시킨다.

Parameters
[in]this_gen비활성화 시킬 Proximity 객체
[out]null
Return values
bool
함수의 성공 여부를 반환한다.
실패시 false를 반환하며 상세한 원인을 Log로 출력한다.
Note
생성한 Proximity를 비활성화 시킨다.
See Also
NewProximity
DestroyProximity
addProximityCallback
detachProximityCallback
ProximityOn
isProximitySupported
getProximityValue
Precondition
feature

Here is the caller graph for this function:

bool ProximityOn ( Proximity  this_gen)

생성한 Proximity를 활성화 시킨다.

Parameters
[in]this_gen활성화 시킬 Proximity 객체
[out]null
Return values
bool
함수의 성공 여부를 반환한다.
실패시 false를 반환하며 상세한 원인을 Log로 출력한다.
Note
생성한 Proximity를 활성화 시킨다.
See Also
NewProximity
DestroyProximity
addProximityCallback
detachProximityCallback
ProximityOff
isProximitySupported
getProximityValue
Precondition
feature

Here is the caller graph for this function:

bool RotationVectorOff ( RotationVector  this_gen)

생성한 RotationVector를 비활성화 시킨다.

Parameters
[in]this_gen비활성화 시킬 RotationVector 객체
[out]null
Return values
void
Note
생성한 RotationVector를 비활성화 시킨다.
See Also
NewRotationVector
DestroyRotationVector
addRotationVectorCallback
detachRotationVectorCallback
RotationVectorOn
isRotationVectorSupported
getRotationVectorValue
Precondition
feature

Here is the caller graph for this function:

bool RotationVectorOn ( RotationVector  this_gen)

생성한 RotationVector를 활성화 시킨다.

Parameters
[in]this_gen활성화 시킬 RotationVector 객체
[out]null
Return values
bool
함수의 성공 여부를 반환한다.
실패시 false를 반환하며 상세한 원인을 Log로 출력한다.
Note
생성한 RotationVector를 활성화 시킨다.
See Also
NewRotationVector
DestroyRotationVector
addRotationVectorCallback
detachRotationVectorCallback
RotationVectorOff
isRotationVectorSupported
getRotationVectorValue
Precondition
feature

Here is the caller graph for this function:

const char * SensorErrorCheck ( int  errCode)

Device Status API에서 발생하는 Error Code들을 확인 해준다.

Parameters
[in]errCode확인 하고자 하는 Error Code
[out]null
Return values
SENSOR_ERROR_NONE: Successful
SENSOR_ERROR_IO_ERROR: I/O error
SENSOR_ERROR_INVALID_PARAMETER: Invalid parameter
SENSOR_ERROR_NOT_SUPPORTED: Unsupported sensor in the current device
SENSOR_ERROR_PERMISSION_DENIED: Permission denied
SENSOR_ERROR_OUT_OF_MEMORY: Out of memory
SENSOR_ERROR_NOT_NEED_CALIBRATION: Sensor doesn't need calibration
SENSOR_ERROR_OPERATION_FAILED: Operation failed
SENSOR_ERROR_UNKNOWN: Unknown error occurred
Note
Sensor API에서 발생하는 Error Code들을 확인 해준다.
Error의 내용은 Log를 통해 출력 된다. 9가지의 Error Code들을 확인 가능 하다.
See Also
Tizen Native API Document - Sensor Error
bool TemperatureOff ( Temperature  this_gen)

생성한 Temperature를 비활성화 시킨다.

Parameters
[in]this_gen비활성화 시킬 Temperature 객체
[out]null
Return values
bool
함수의 성공 여부를 반환한다.
실패시 false를 반환하며 상세한 원인을 Log로 출력한다.
Note
생성한 Temperature를 비활성화 시킨다.
See Also
NewTemperature
DestroyTemperature
addTemperatureCallback
detachTemperatureCallback
TemperatureOn
isTemperatureSupported
getTemperatureValue
Precondition
feature

Here is the caller graph for this function:

bool TemperatureOn ( Temperature  this_gen)

생성한 Temperature를 활성화 시킨다.

Parameters
[in]this_gen활성화 시킬 Temperature 객체
[out]null
Return values
bool
함수의 성공 여부를 반환한다.
실패시 false를 반환하며 상세한 원인을 Log로 출력한다.
Note
생성한 Temperature를 활성화 시킨다.
See Also
NewTemperature
DestroyTemperature
addTemperatureCallback
detachTemperatureCallback
TemperatureOff
isTemperatureSupported
getTemperatureValue
Precondition
feature

Here is the caller graph for this function:

bool UltraVioletOff ( UltraViolet  this_gen)

생성한 UltraViolet를 비활성화 시킨다.

Parameters
[in]this_gen비활성화 시킬 UltraViolet 객체
[out]null
Return values
bool
함수의 성공 여부를 반환한다.
실패시 false를 반환하며 상세한 원인을 Log로 출력한다.
Note
생성한 UltraViolet를 비활성화 시킨다.
See Also
NewUltraViolet
DestroyUltraViolet
addUltraVioletCallback
detachUltraVioletCallback
UltraVioletOn
isUltraVioletSupported
getUltraVioletValue
Precondition
feature

Here is the caller graph for this function:

bool UltraVioletOn ( UltraViolet  this_gen)

생성한 UltraViolet를 활성화 시킨다.

Parameters
[in]this_gen활성화 시킬 UltraViolet 객체
[out]null
Return values
bool
함수의 성공 여부를 반환한다.
실패시 false를 반환하며 상세한 원인을 Log로 출력한다.
Note
생성한 UltraViolet를 활성화 시킨다.
See Also
NewUltraViolet
DestroyUltraViolet
addUltraVioletCallback
detachUltraVioletCallback
UltraVioletOff
isUltraVioletSupported
getUltraVioletValue
Precondition
feature

Here is the caller graph for this function: