![]() |
D.I.T. ( Do It Tizen! )
1.0.0
Samsung Software Membership
|
Sensor API 를 사용하기 위해 포함해야 하는 헤더이다. More...
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... | |
Sensor API 를 사용하기 위해 포함해야 하는 헤더이다.
struct _3d_data |
struct RotationVector_data |
struct Light_data |
struct Proximity_data |
struct Pressure_data |
struct UltraViolet_data |
struct Temperature_data |
struct Humidity_data |
struct AccelerometerExtend |
Data Fields | ||
---|---|---|
struct _Accelerometer | accelerometer | |
bool | activated | |
sensor_listener_h | listener | |
sensor_h | sensor | |
sensor_type_e | type |
struct GravityExtend |
Data Fields | ||
---|---|---|
bool | activated | |
struct _Gravity | gravity | |
sensor_listener_h | listener | |
sensor_h | sensor | |
sensor_type_e | type |
struct LinearAccelationExtend |
Data Fields | ||
---|---|---|
bool | activated | |
struct _LinearAccelation | linearaccelation | |
sensor_listener_h | listener | |
sensor_h | sensor | |
sensor_type_e | type |
struct MagnetometerExtend |
Data Fields | ||
---|---|---|
bool | activated | |
sensor_listener_h | listener | |
struct _Magnetometer | magnetometer | |
sensor_h | sensor | |
sensor_type_e | type |
struct RotationVectorExtend |
Data Fields | ||
---|---|---|
bool | activated | |
sensor_listener_h | listener | |
struct _RotationVector | rotationvector | |
sensor_h | sensor | |
sensor_type_e | type |
struct OrientationExtend |
Data Fields | ||
---|---|---|
bool | activated | |
sensor_listener_h | listener | |
struct _Orientation | orientation | |
sensor_h | sensor | |
sensor_type_e | type |
struct GyroscopeExtend |
Data Fields | ||
---|---|---|
bool | activated | |
struct _Gyroscope | gyroscope | |
sensor_listener_h | listener | |
sensor_h | sensor | |
sensor_type_e | type |
struct LightExtend |
Data Fields | ||
---|---|---|
bool | activated | |
struct _Light | light | |
sensor_listener_h | listener | |
sensor_h | sensor | |
sensor_type_e | type |
struct ProximityExtend |
Data Fields | ||
---|---|---|
bool | activated | |
sensor_listener_h | listener | |
struct _Proximity | proximity | |
sensor_h | sensor | |
sensor_type_e | type |
struct PressureExtend |
Data Fields | ||
---|---|---|
bool | activated | |
sensor_listener_h | listener | |
struct _Pressure | pressure | |
sensor_h | sensor | |
sensor_type_e | type |
struct UltraVioletExtend |
Data Fields | ||
---|---|---|
bool | activated | |
sensor_listener_h | listener | |
sensor_h | sensor | |
sensor_type_e | type | |
struct _UltraViolet | ultraviolet |
struct TemperatureExtend |
Data Fields | ||
---|---|---|
bool | activated | |
sensor_listener_h | listener | |
sensor_h | sensor | |
struct _Temperature | temperature | |
sensor_type_e | type |
struct HumidityExtend |
Data Fields | ||
---|---|---|
bool | activated | |
struct _Humidity | humidity | |
sensor_listener_h | listener | |
sensor_h | sensor | |
sensor_type_e | type |
bool AccelerometerOff | ( | Accelerometer | this_gen | ) |
생성한 Accelerometer를 비활성화 시킨다.
[in] | this_gen | 비활성화 시킬 Accelerometer 객체 |
[out] | null |
bool | 함수의 성공 여부를 반환한다. 실패시 false를 반환하며 상세한 원인을 Log로 출력한다. |
bool AccelerometerOn | ( | Accelerometer | this_gen | ) |
생성한 Accelerometer를 활성화 시킨다.
[in] | this_gen | 활성화 시킬 Accelerometer 객체 |
[out] | null |
bool | 함수의 성공 여부를 반환한다. 실패시 false를 반환하며 상세한 원인을 Log로 출력한다. |
bool addAccelerometerCallback | ( | Accelerometer | this_gen, |
sensor_callback | sensorCallback, | ||
int | timeinterval, | ||
void * | data | ||
) |
생성한 Accelerometer에 callback 함수를 등록한다.
[in] | this_gen | callback 함수를 등록할 Accelerometer 객체 |
[in] | sensorCallback | 등록할 callback 함수 |
[in] | timeinterval | callback 함수가 수행될 시간 간격 |
[in] | data | callback 함수에 전달될 사용자 data 주소 |
[out] | data | callback 함수에 전달될 사용자 data |
bool | 함수의 성공 여부를 반환한다. 실패시 false를 반환하며 상세한 원인을 Log로 출력한다. |
milliseconds
이며 만약 0
으로 설정하면 기본 값인 100ms로 설정된다. bool addGravityCallback | ( | Gravity | this_gen, |
sensor_callback | sensorCallback, | ||
int | timeinterval, | ||
void * | data | ||
) |
생성한 Gravity에 callback 함수를 등록한다.
[in] | this_gen | callback 함수를 등록할 Gravity 객체 |
[in] | sensorCallback | 등록할 callback 함수 |
[in] | timeinterval | callback 함수가 수행될 시간 간격 |
[in] | data | callback 함수에 전달될 사용자 data 주소 |
[out] | data | callback 함수에 전달될 사용자 data |
bool | 함수의 성공 여부를 반환한다. 실패시 false를 반환하며 상세한 원인을 Log로 출력한다. |
0
으로 설정하면 기본 값인 100ms로 설정된다. bool addGyroscopeCallback | ( | Gyroscope | this_gen, |
sensor_callback | sensorCallback, | ||
int | timeinterval, | ||
void * | data | ||
) |
생성한 Gyroscope에 callback 함수를 등록한다.
[in] | this_gen | callback 함수를 등록할 Gyroscope 객체 |
[in] | sensor | callback 등록할 callback 함수 |
[in] | voiceinterval | callback 함수가 수행될 시간 간격 |
[in] | data | callback 함수에 전달될 사용자 data 주소 |
[out] | data | callback 함수에 전달될 사용자 data |
bool | 함수의 성공 여부를 반환한다. 실패시 false를 반환하며 상세한 원인을 Log로 출력한다. |
0
으로 설정하면 기본 값인 100ms로 설정된다. bool addHumidityCallback | ( | Humidity | this_gen, |
sensor_callback | sensorCallback, | ||
int | timeinterval, | ||
void * | data | ||
) |
생성한 Humidity에 callback 함수를 등록한다.
[in] | this_gen | callback 함수를 등록할 Humidity 객체 |
[in] | sensor | callback 등록할 callback 함수 |
[in] | voiceinterval | callback 함수가 수행될 시간 간격 |
[in] | data | callback 함수에 전달될 사용자 data 주소 |
[out] | data | callback 함수에 전달될 사용자 data |
bool | 함수의 성공 여부를 반환한다. 실패시 false를 반환하며 상세한 원인을 Log로 출력한다. |
0
으로 설정하면 기본 값인 100ms로 설정된다. bool addLightCallback | ( | Light | this_gen, |
sensor_callback | sensorCallback, | ||
int | timeinterval, | ||
void * | data | ||
) |
생성한 Light에 callback 함수를 등록한다.
[in] | this_gen | callback 함수를 등록할 Light 객체 |
[in] | sensor | callback 등록할 callback 함수 |
[in] | voiceinterval | callback 함수가 수행될 시간 간격 |
[in] | data | callback 함수에 전달될 사용자 data 주소 |
[out] | data | callback 함수에 전달될 사용자 data |
bool | 함수의 성공 여부를 반환한다. 실패시 false를 반환하며 상세한 원인을 Log로 출력한다. |
0
으로 설정하면 기본 값인 100ms로 설정된다. bool addLinearAccelationCallback | ( | LinearAccelation | this_gen, |
sensor_callback | sensorCallback, | ||
int | timeenterval, | ||
void * | data | ||
) |
생성한 LinearAccelation에 callback 함수를 등록한다.
[in] | this_gen | callback 함수를 등록할 LinearAccelation 객체 |
[in] | sensor | callback 등록할 callback 함수 |
[in] | timeinterval | callback 함수가 수행될 시간 간격 |
[in] | data | callback 함수에 전달될 사용자 data 주소 |
[out] | data | callback 함수에 전달될 사용자 data |
bool | 함수의 성공 여부를 반환한다. 실패시 false를 반환하며 상세한 원인을 Log로 출력한다. |
0
으로 설정하면 기본 값인 100ms로 설정된다. bool addMagnetometerCallback | ( | Magnetometer | this_gen, |
sensor_callback | sensorCallback, | ||
int | timeenterval, | ||
void * | data | ||
) |
생성한 Magnetometer에 callback 함수를 등록한다.
[in] | this_gen | callback 함수를 등록할 Magnetometer 객체 |
[in] | sensor | callback 등록할 callback 함수 |
[in] | timeinterval | callback 함수가 수행될 시간 간격 |
[in] | data | callback 함수에 전달될 사용자 data 주소 |
[out] | data | callback 함수에 전달될 사용자 data |
bool | 함수의 성공 여부를 반환한다. 실패시 false를 반환하며 상세한 원인을 Log로 출력한다. |
0
으로 설정하면 기본 값인 100ms로 설정된다. bool addOrientationCallback | ( | Orientation | this_gen, |
sensor_callback | sensorCallback, | ||
int | timeinterval, | ||
void * | data | ||
) |
생성한 Orientation에 callback 함수를 등록한다.
[in] | this_gen | callback 함수를 등록할 Orientation 객체 |
[in] | sensor | callback 등록할 callback 함수 |
[in] | voiceinterval | callback 함수가 수행될 시간 간격 |
[in] | data | callback 함수에 전달될 사용자 data 주소 |
[out] | data | callback 함수에 전달될 사용자 data |
bool | 함수의 성공 여부를 반환한다. 실패시 false를 반환하며 상세한 원인을 Log로 출력한다. |
0
으로 설정하면 기본 값인 100ms로 설정된다. bool addPressureCallback | ( | Pressure | this_gen, |
sensor_callback | sensorCallback, | ||
int | timeinterval, | ||
void * | data | ||
) |
생성한 Pressure에 callback 함수를 등록한다.
[in] | this_gen | callback 함수를 등록할 Pressure 객체 |
[in] | sensor | callback 등록할 callback 함수 |
[in] | voiceinterval | callback 함수가 수행될 시간 간격 |
[in] | data | callback 함수에 전달될 사용자 data 주소 |
[out] | data | callback 함수에 전달될 사용자 data |
bool | 함수의 성공 여부를 반환한다. 실패시 false를 반환하며 상세한 원인을 Log로 출력한다. |
0
으로 설정하면 기본 값인 100ms로 설정된다. bool addProximityCallback | ( | Proximity | this_gen, |
sensor_callback | sensorCallback, | ||
int | timeinterval, | ||
void * | data | ||
) |
생성한 Proximity에 callback 함수를 등록한다.
[in] | this_gen | callback 함수를 등록할 Proximity 객체 |
[in] | sensor | callback 등록할 callback 함수 |
[in] | voiceinterval | callback 함수가 수행될 시간 간격 |
[in] | data | callback 함수에 전달될 사용자 data 주소 |
[out] | data | callback 함수에 전달될 사용자 data |
bool | 함수의 성공 여부를 반환한다. 실패시 false를 반환하며 상세한 원인을 Log로 출력한다. |
0
으로 설정하면 기본 값인 100ms로 설정된다. bool addRotationVectorCallback | ( | RotationVector | this_gen, |
sensor_callback | sensorCallback, | ||
int | timeinterval, | ||
void * | data | ||
) |
생성한 RotationVector에 callback 함수를 등록한다.
[in] | this_gen | callback 함수를 등록할 RotationVector 객체 |
[in] | sensor | callback 등록할 callback 함수 |
[in] | timeinterval | callback 함수가 수행될 시간 간격 |
[in] | data | callback 함수에 전달될 사용자 data 주소 |
[out] | data | callback 함수에 전달될 사용자 data |
bool | 함수의 성공 여부를 반환한다. 실패시 false를 반환하며 상세한 원인을 Log로 출력한다. |
0
으로 설정하면 기본 값인 100ms로 설정된다. bool addTemperatureCallback | ( | Temperature | this_gen, |
sensor_callback | sensorCallback, | ||
int | timeinterval, | ||
void * | data | ||
) |
생성한 Temperature에 callback 함수를 등록한다.
[in] | this_gen | callback 함수를 등록할 Temperature 객체 |
[in] | sensor | callback 등록할 callback 함수 |
[in] | voiceinterval | callback 함수가 수행될 시간 간격 |
[in] | data | callback 함수에 전달될 사용자 data 주소 |
[out] | data | callback 함수에 전달될 사용자 data |
bool | 함수의 성공 여부를 반환한다. 실패시 false를 반환하며 상세한 원인을 Log로 출력한다. |
0
으로 설정하면 기본 값인 100ms로 설정된다. bool addUltraVioletCallback | ( | UltraViolet | this_gen, |
sensor_callback | sensorCallback, | ||
int | timeinterval, | ||
void * | data | ||
) |
생성한 UltraViolet에 callback 함수를 등록한다.
[in] | this_gen | callback 함수를 등록할 UltraViolet 객체 |
[in] | sensor | callback 등록할 callback 함수 |
[in] | voiceinterval | callback 함수가 수행될 시간 간격 |
[in] | data | callback 함수에 전달될 사용자 data 주소 |
[out] | data | callback 함수에 전달될 사용자 data |
bool | 함수의 성공 여부를 반환한다. 실패시 false를 반환하며 상세한 원인을 Log로 출력한다. |
0
으로 설정하면 기본 값인 100ms로 설정된다. void DestroyAccelerometer | ( | Accelerometer | this_gen | ) |
생성한 Accelerometer 객체를 소멸 시킨다.
[in] | this_gen | 소멸시킬 Accelerometer 객체 |
[out] | null |
void |
void DestroyGravity | ( | Gravity | this_gen | ) |
생성한 Gravity 객체를 소멸 시킨다.
[in] | this_gen | 소멸시킬 Gravity 객체 |
[out] | null |
void |
void DestroyGyroscope | ( | Gyroscope | this_gen | ) |
생성한 Gyroscope 객체를 소멸 시킨다.
[in] | this_gen | 소멸시킬 Gyroscope 객체 |
[out] | null |
void |
void DestroyHumidity | ( | Humidity | this_gen | ) |
생성한 Humidity 객체를 소멸 시킨다.
[in] | this_gen | 소멸시킬 Humidity 객체 |
[out] | null |
void |
void DestroyLight | ( | Light | this_gen | ) |
생성한 Light 객체를 소멸 시킨다.
[in] | this_gen | 소멸시킬 Light 객체 |
[out] | null |
void |
void DestroyLinearAccelation | ( | LinearAccelation | this_gen | ) |
생성한 LinearAccelation 객체를 소멸 시킨다.
[in] | this_gen | 소멸시킬 LinearAccelation 객체 |
[out] | null |
void |
void DestroyMagnetometer | ( | Magnetometer | this_gen | ) |
생성한 Magnetometer 객체를 소멸 시킨다.
[in] | this_gen | 소멸시킬 Magnetometer 객체 |
[out] | null |
void |
void DestroyOrientation | ( | Orientation | this_gen | ) |
생성한 Orientation 객체를 소멸 시킨다.
[in] | this_gen | 소멸시킬 Orientation 객체 |
[out] | null |
void |
void DestroyPressure | ( | Pressure | this_gen | ) |
생성한 Pressure 객체를 소멸 시킨다.
[in] | this_gen | 소멸시킬 Pressure 객체 |
[out] | null |
void |
void DestroyProximity | ( | Proximity | this_gen | ) |
생성한 Proximity 객체를 소멸 시킨다.
[in] | this_gen | 소멸시킬 Proximity 객체 |
[out] | null |
void |
void DestroyRotationVector | ( | RotationVector | this_gen | ) |
생성한 RotationVector 객체를 소멸 시킨다.
[in] | this_gen | 소멸시킬 RotationVector 객체 |
[out] | null |
void |
void DestroyTemperature | ( | Temperature | this_gen | ) |
생성한 Temperature 객체를 소멸 시킨다.
[in] | this_gen | 소멸시킬 Temperature 객체 |
[out] | null |
void |
void DestroyUltraViolet | ( | UltraViolet | this_gen | ) |
생성한 UltraViolet 객체를 소멸 시킨다.
[in] | this_gen | 소멸시킬 UltraViolet 객체 |
[out] | null |
void |
bool detachAccelerometerCallback | ( | Accelerometer | this_gen | ) |
생성한 Accelerometer에서 callback 함수를 삭제한다.
[in] | this_gen | callback 함수를 삭제할 Accelerometer 객체 |
[out] | null |
bool | 함수의 성공 여부를 반환한다. 실패시 false를 반환하며 상세한 원인을 Log로 출력한다. |
bool detachGravityCallback | ( | Gravity | this_gen | ) |
생성한 Gravity에서 callback 함수를 삭제한다.
[in] | this_gen | callback 함수를 삭제할 Gravity 객체 |
[out] | null |
bool | 함수의 성공 여부를 반환한다. 실패시 false를 반환하며 상세한 원인을 Log로 출력한다. |
bool detachGyroscopeCallback | ( | Gyroscope | this_gen | ) |
생성한 Gyroscope에서 callback 함수를 삭제한다.
[in] | this_gen | callback 함수를 삭제할 Gyroscope 객체 |
[out] | null |
bool | 함수의 성공 여부를 반환한다. 실패시 false를 반환하며 상세한 원인을 Log로 출력한다. |
bool detachHumidityCallback | ( | Humidity | this_gen | ) |
생성한 Humidity에서 callback 함수를 삭제한다.
[in] | this_gen | callback 함수를 삭제할 Humidity 객체 |
[out] | null |
bool | 함수의 성공 여부를 반환한다. 실패시 false를 반환하며 상세한 원인을 Log로 출력한다. |
bool detachLightCallback | ( | Light | this_gen | ) |
생성한 Light에서 callback 함수를 삭제한다.
[in] | this_gen | callback 함수를 삭제할 Light 객체 |
[out] | null |
bool | 함수의 성공 여부를 반환한다. 실패시 false를 반환하며 상세한 원인을 Log로 출력한다. |
bool detachLinearAccelationCallback | ( | LinearAccelation | this_gen | ) |
생성한 LinearAccelation에서 callback 함수를 삭제한다.
[in] | this_gen | callback 함수를 삭제할 LinearAccelation 객체 |
[out] | null |
bool | 함수의 성공 여부를 반환한다. 실패시 false를 반환하며 상세한 원인을 Log로 출력한다. |
bool detachMagnetometerCallback | ( | Magnetometer | this_gen | ) |
생성한 Magnetometer에서 callback 함수를 삭제한다.
[in] | this_gen | callback 함수를 삭제할 Magnetometer 객체 |
[out] | null |
bool | 함수의 성공 여부를 반환한다. 실패시 false를 반환하며 상세한 원인을 Log로 출력한다. |
bool detachOrientationCallback | ( | Orientation | this_gen | ) |
생성한 Orientation에서 callback 함수를 삭제한다.
[in] | this_gen | callback 함수를 삭제할 Orientation 객체 |
[out] | null |
bool | 함수의 성공 여부를 반환한다. 실패시 false를 반환하며 상세한 원인을 Log로 출력한다. |
bool detachPressureCallback | ( | Pressure | this_gen | ) |
생성한 Pressure에서 callback 함수를 삭제한다.
[in] | this_gen | callback 함수를 삭제할 Pressure 객체 |
[out] | null |
bool | 함수의 성공 여부를 반환한다. 실패시 false를 반환하며 상세한 원인을 Log로 출력한다. |
bool detachProximityCallback | ( | Proximity | this_gen | ) |
생성한 Proximity에서 callback 함수를 삭제한다.
[in] | this_gen | callback 함수를 삭제할 Proximity 객체 |
[out] | null |
bool | 함수의 성공 여부를 반환한다. 실패시 false를 반환하며 상세한 원인을 Log로 출력한다. |
bool detachRotationVectorCallback | ( | RotationVector | this_gen | ) |
생성한 RotationVector에서 callback 함수를 삭제한다.
[in] | this_gen | callback 함수를 삭제할 RotationVector 객체 |
[out] | null |
bool | 함수의 성공 여부를 반환한다. 실패시 false를 반환하며 상세한 원인을 Log로 출력한다. |
bool detachTemperatureCallback | ( | Temperature | this_gen | ) |
생성한 Temperature에서 callback 함수를 삭제한다.
[in] | this_gen | callback 함수를 삭제할 Temperature 객체 |
[out] | null |
bool | 함수의 성공 여부를 반환한다. 실패시 false를 반환하며 상세한 원인을 Log로 출력한다. |
bool detachUltraVioletCallback | ( | UltraViolet | this_gen | ) |
생성한 UltraViolet에서 callback 함수를 삭제한다.
[in] | this_gen | callback 함수를 삭제할 UltraViolet 객체 |
[out] | null |
bool | 함수의 성공 여부를 반환한다. 실패시 false를 반환하며 상세한 원인을 Log로 출력한다. |
Accelerometer_data getAccelerometerValue | ( | Accelerometer | this_gen | ) |
활성화 되어 있는 Accelerometer의 센서 값을 반환한다.
[in] | this_gen | 센서 값을 받을 Accelerometer 객체 |
[out] | null |
Accelerometer_data | Accelerometer의 센서 값 |
Gravity_data getGravityValue | ( | Gravity | this_gen | ) |
활성화 되어 있는 Gravity의 센서 값을 반환한다.
[in] | this_gen | 센서 값을 받을 Gravity 객체 |
[out] | null |
Gravity_data | Gravity의 센서 값 |
Gyroscope_data getGyroscopeValue | ( | Gyroscope | this_gen | ) |
활성화 되어 있는 Gyroscope의 센서 값을 반환한다.
[in] | this_gen | 센서 값을 받을 Gyroscope 객체 |
[out] | null |
Gyroscope_data | Gyroscope의 센서 값 |
Humidity_data getHumidityValue | ( | Humidity | this_gen | ) |
활성화 되어 있는 Humidity의 센서 값을 반환한다.
[in] | this_gen | 센서 값을 받을 Humidity 객체 |
[out] | null |
Humidity_data | Humidity의 센서 값 |
Light_data getLightValue | ( | Light | this_gen | ) |
활성화 되어 있는 Light의 센서 값을 반환한다.
[in] | this_gen | 센서 값을 받을 Light 객체 |
[out] | null |
Light_data | Light의 센서 값 |
LinearAccelation_data getLinearAccelationValue | ( | LinearAccelation | this_gen | ) |
활성화 되어 있는 LinearAccelation의 센서 값을 반환한다.
[in] | this_gen | 센서 값을 받을 LinearAccelation 객체 |
[out] | null |
LinearAccelation_data | LinearAccelation의 센서 값 |
Magnetometer_data getMagnetometerValue | ( | Magnetometer | this_gen | ) |
활성화 되어 있는 Magnetometer의 센서 값을 반환한다.
[in] | this_gen | 센서 값을 받을 Magnetometer 객체 |
[out] | null |
Magnetometer_data | Magnetometer의 센서 값 |
Orientation_data getOrientationValue | ( | Orientation | this_gen | ) |
활성화 되어 있는 Orientation의 센서 값을 반환한다.
[in] | this_gen | 센서 값을 받을 Orientation 객체 |
[out] | null |
Orientation_data | Orientation의 센서 값 |
Pressure_data getPressureValue | ( | Pressure | this_gen | ) |
활성화 되어 있는 Pressure의 센서 값을 반환한다.
[in] | this_gen | 센서 값을 받을 Pressure 객체 |
[out] | null |
Pressure_data | Pressure의 센서 값 |
Proximity_data getProximityValue | ( | Proximity | this_gen | ) |
활성화 되어 있는 Proximity의 센서 값을 반환한다.
[in] | this_gen | 센서 값을 받을 Proximity 객체 |
[out] | null |
Proximity_data | Proximity의 센서 값 |
RotationVector_data getRotationVectorValue | ( | RotationVector | this_gen | ) |
활성화 되어 있는 RotationVector의 센서 값을 반환한다.
[in] | this_gen | 센서 값을 받을 RotationVector 객체 |
[out] | null |
RotationVector_data | RotationVector의 센서 값 |
Temperature_data getTemperatureValue | ( | Temperature | this_gen | ) |
활성화 되어 있는 Temperature의 센서 값을 반환한다.
[in] | this_gen | 센서 값을 받을 Temperature 객체 |
[out] | null |
Temperature_data | Temperature의 센서 값 |
UltraViolet_data getUltraVioletValue | ( | UltraViolet | this_gen | ) |
활성화 되어 있는 UltraViolet의 센서 값을 반환한다.
[in] | this_gen | 센서 값을 받을 UltraViolet 객체 |
[out] | null |
UltraViolet_data | UltraViolet의 센서 값 |
bool GravityOff | ( | Gravity | this_gen | ) |
생성한 Gravity를 비활성화 시킨다.
[in] | this_gen | 비활성화 시킬 Gravity 객체 |
[out] | null |
bool | 함수의 성공 여부를 반환한다. 실패시 false를 반환하며 상세한 원인을 Log로 출력한다. |
bool GravityOn | ( | Gravity | this_gen | ) |
생성한 Gravity를 활성화 시킨다.
[in] | this_gen | 활성화 시킬 Gravity 객체 |
[out] | null |
bool | 함수의 성공 여부를 반환한다. 실패시 false를 반환하며 상세한 원인을 Log로 출력한다. |
bool GyroscopeOff | ( | Gyroscope | this_gen | ) |
생성한 Gyroscope를 비활성화 시킨다.
[in] | this_gen | 비활성화 시킬 Gyroscope 객체 |
[out] | null |
bool | 함수의 성공 여부를 반환한다. 실패시 false를 반환하며 상세한 원인을 Log로 출력한다. |
bool GyroscopeOn | ( | Gyroscope | this_gen | ) |
생성한 Gyroscope를 활성화 시킨다.
[in] | this_gen | 활성화 시킬 Gyroscope 객체 |
[out] | null |
bool | 함수의 성공 여부를 반환한다. 실패시 false를 반환하며 상세한 원인을 Log로 출력한다. |
bool HumidityOff | ( | Humidity | this_gen | ) |
생성한 Humidity를 비활성화 시킨다.
[in] | this_gen | 비활성화 시킬 Humidity 객체 |
[out] | null |
bool | 함수의 성공 여부를 반환한다. 실패시 false를 반환하며 상세한 원인을 Log로 출력한다. |
bool HumidityOn | ( | Humidity | this_gen | ) |
생성한 Humidity를 활성화 시킨다.
[in] | this_gen | 활성화 시킬 Humidity 객체 |
[out] | null |
bool | 함수의 성공 여부를 반환한다. 실패시 false를 반환하며 상세한 원인을 Log로 출력한다. |
bool isAccelerometerSupported | ( | Accelerometer | this_gen | ) |
Accelerometer의 사용 가능 여부를 판단한다.
[in] | this_gen | 사용 가능 여부를 판단할 Accelerometer 객체 |
[out] | null |
bool | 함수의 성공 여부를 반환한다. 실패시 false를 반환하며 상세한 원인을 Log로 출력한다. |
bool isGravitySupported | ( | Gravity | this_gen | ) |
Gravity의 사용 가능 여부를 판단한다.
[in] | this_gen | 사용 가능 여부를 판단할 Gravity 객체 |
[out] | null |
bool | 함수의 성공 여부를 반환한다. 실패시 false를 반환하며 상세한 원인을 Log로 출력한다.\ |
bool isGyroscopeSupported | ( | Gyroscope | this_gen | ) |
Gyroscope의 사용 가능 여부를 판단한다.
[in] | this_gen | 사용 가능 여부를 판단할 Gyroscope 객체 |
[out] | null |
bool | 함수의 성공 여부를 반환한다. 실패시 false를 반환하며 상세한 원인을 Log로 출력한다. |
bool isHumiditySupported | ( | Humidity | this_gen | ) |
Humidity의 사용 가능 여부를 판단한다.
[in] | this_gen | 사용 가능 여부를 판단할 Humidity 객체 |
[out] | null |
bool | 함수의 성공 여부를 반환한다. 실패시 false를 반환하며 상세한 원인을 Log로 출력한다. |
bool isLightSupported | ( | Light | this_gen | ) |
Light의 사용 가능 여부를 판단한다.
[in] | this_gen | 사용 가능 여부를 판단할 Light 객체 |
[out] | null |
bool | 함수의 성공 여부를 반환한다. 실패시 false를 반환하며 상세한 원인을 Log로 출력한다. |
bool isLinearAccelationSupported | ( | LinearAccelation | this_gen | ) |
LinearAccelation의 사용 가능 여부를 판단한다.
[in] | this_gen | 사용 가능 여부를 판단할 LinearAccelation 객체 |
[out] | null |
bool | 함수의 성공 여부를 반환한다. 실패시 false를 반환하며 상세한 원인을 Log로 출력한다. |
bool isMagnetometerSupported | ( | Magnetometer | this_gen | ) |
Magnetometer의 사용 가능 여부를 판단한다.
[in] | this_gen | 사용 가능 여부를 판단할 Magnetometer 객체 |
[out] | null |
bool | 함수의 성공 여부를 반환한다. 실패시 false를 반환하며 상세한 원인을 Log로 출력한다. |
bool isOrientationSupported | ( | Orientation | this_gen | ) |
Orientation의 사용 가능 여부를 판단한다.
[in] | this_gen | 사용 가능 여부를 판단할 Orientation 객체 |
[out] | null |
bool | 함수의 성공 여부를 반환한다. 실패시 false를 반환하며 상세한 원인을 Log로 출력한다. |
bool isPressureSupported | ( | Pressure | this_gen | ) |
Pressure의 사용 가능 여부를 판단한다.
[in] | this_gen | 사용 가능 여부를 판단할 Pressure 객체 |
[out] | null |
bool | 함수의 성공 여부를 반환한다. 실패시 false를 반환하며 상세한 원인을 Log로 출력한다. |
bool isProximitySupported | ( | Proximity | this_gen | ) |
Proximity의 사용 가능 여부를 판단한다.
[in] | this_gen | 사용 가능 여부를 판단할 Proximity 객체 |
[out] | null |
bool | 함수의 성공 여부를 반환한다. 실패시 false를 반환하며 상세한 원인을 Log로 출력한다. |
bool isRotationVectorSupported | ( | RotationVector | this_gen | ) |
RotationVector의 사용 가능 여부를 판단한다.
[in] | this_gen | 사용 가능 여부를 판단할 RotationVector 객체 |
[out] | null |
bool | 함수의 성공 여부를 반환한다. 실패시 false를 반환하며 상세한 원인을 Log로 출력한다. |
bool isTemperatureSupported | ( | Temperature | this_gen | ) |
Temperature의 사용 가능 여부를 판단한다.
[in] | this_gen | 사용 가능 여부를 판단할 Temperature 객체 |
[out] | null |
bool | 함수의 성공 여부를 반환한다. 실패시 false를 반환하며 상세한 원인을 Log로 출력한다. |
bool isUltraVioletSupported | ( | UltraViolet | this_gen | ) |
UltraViolet의 사용 가능 여부를 판단한다.
[in] | this_gen | 사용 가능 여부를 판단할 UltraViolet 객체 |
[out] | null |
bool | 함수의 성공 여부를 반환한다. 실패시 false를 반환하며 상세한 원인을 Log로 출력한다. |
bool LightOff | ( | Light | this_gen | ) |
생성한 Light를 비활성화 시킨다.
[in] | this_gen | 비활성화 시킬 Light 객체 |
[out] | null |
bool | 함수의 성공 여부를 반환한다. 실패시 false를 반환하며 상세한 원인을 Log로 출력한다. |
bool LightOn | ( | Light | this_gen | ) |
생성한 Light를 활성화 시킨다.
[in] | this_gen | 활성화 시킬 Light 객체 |
[out] | null |
bool | 함수의 성공 여부를 반환한다. 실패시 false를 반환하며 상세한 원인을 Log로 출력한다. |
bool LinearAccelationOff | ( | LinearAccelation | this_gen | ) |
생성한 LinearAccelation를 비활성화 시킨다.
[in] | this_gen | 비활성화 시킬 LinearAccelation 객체 |
[out] | null |
bool | 함수의 성공 여부를 반환한다. 실패시 false를 반환하며 상세한 원인을 Log로 출력한다. |
bool LinearAccelationOn | ( | LinearAccelation | this_gen | ) |
생성한 LinearAccelation를 활성화 시킨다.
[in] | this_gen | 활성화 시킬 LinearAccelation 객체 |
[out] | null |
bool | 함수의 성공 여부를 반환한다. 실패시 false를 반환하며 상세한 원인을 Log로 출력한다. |
bool MagnetometerOff | ( | Magnetometer | this_gen | ) |
생성한 Magnetometer를 비활성화 시킨다.
[in] | this_gen | 비활성화 시킬 Magnetometer 객체 |
[out] | null |
bool | 함수의 성공 여부를 반환한다. 실패시 false를 반환하며 상세한 원인을 Log로 출력한다. |
bool MagnetometerOn | ( | Magnetometer | this_gen | ) |
생성한 Magnetometer를 활성화 시킨다.
[in] | this_gen | 활성화 시킬 Magnetometer 객체 |
[out] | null |
bool | 함수의 성공 여부를 반환한다. 실패시 false를 반환하며 상세한 원인을 Log로 출력한다. |
Accelerometer NewAccelerometer | ( | void | ) |
새로운 Accelerometer 객체를 생성한다.
[in] | void | |
[out] | null |
Accelerometer |
Gravity NewGravity | ( | void | ) |
새로운 Gravity 객체를 생성한다.
[in] | void | |
[out] | null |
Gravity |
Gyroscope NewGyroscope | ( | void | ) |
새로운 Gyroscope 객체를 생성한다.
[in] | void | |
[out] | null |
Gyroscope |
Humidity NewHumidity | ( | void | ) |
새로운 Humidity 객체를 생성한다.
[in] | void | |
[out] | null |
Humidity |
Light NewLight | ( | void | ) |
새로운 Light 객체를 생성한다.
[in] | void | |
[out] | null |
Light |
LinearAccelation NewLinearAccelation | ( | void | ) |
새로운 LinearAccelation 객체를 생성한다.
[in] | void | |
[out] | null |
LinearAccelation |
Magnetometer NewMagnetometer | ( | void | ) |
새로운 Magnetometer 객체를 생성한다.
[in] | void | |
[out] | null |
Magnetometer |
Orientation NewOrientation | ( | void | ) |
새로운 Orientation 객체를 생성한다.
[in] | void | |
[out] | null |
Orientation |
Pressure NewPressure | ( | void | ) |
새로운 Pressure 객체를 생성한다.
[in] | void | |
[out] | null |
Pressure |
Proximity NewProximity | ( | void | ) |
새로운 Proximity 객체를 생성한다.
[in] | void | |
[out] | null |
Proximity |
RotationVector NewRotationVector | ( | void | ) |
새로운 RotationVector 객체를 생성한다.
[in] | void | |
[out] | null |
RotationVector |
Temperature NewTemperature | ( | void | ) |
새로운 Temperature 객체를 생성한다.
[in] | void | |
[out] | null |
Temperature |
UltraViolet NewUltraViolet | ( | void | ) |
새로운 UltraViolet 객체를 생성한다.
[in] | void | |
[out] | null |
UltraViolet |
bool OrientationOff | ( | Orientation | this_gen | ) |
생성한 Orientation를 비활성화 시킨다.
[in] | this_gen | 비활성화 시킬 Orientation 객체 |
[out] | null |
bool | 함수의 성공 여부를 반환한다. 실패시 false를 반환하며 상세한 원인을 Log로 출력한다. |
bool OrientationOn | ( | Orientation | this_gen | ) |
생성한 Orientation를 활성화 시킨다.
[in] | this_gen | 활성화 시킬 Orientation 객체 |
[out] | null |
bool | 함수의 성공 여부를 반환한다. 실패시 false를 반환하며 상세한 원인을 Log로 출력한다. |
bool PressureOff | ( | Pressure | this_gen | ) |
생성한 Pressure를 비활성화 시킨다.
[in] | this_gen | 비활성화 시킬 Pressure 객체 |
[out] | null |
bool | 함수의 성공 여부를 반환한다. 실패시 false를 반환하며 상세한 원인을 Log로 출력한다. |
bool PressureOn | ( | Pressure | this_gen | ) |
생성한 Pressure를 활성화 시킨다.
[in] | this_gen | 활성화 시킬 Pressure 객체 |
[out] | null |
bool | 함수의 성공 여부를 반환한다. 실패시 false를 반환하며 상세한 원인을 Log로 출력한다. |
bool ProximityOff | ( | Proximity | this_gen | ) |
생성한 Proximity를 비활성화 시킨다.
[in] | this_gen | 비활성화 시킬 Proximity 객체 |
[out] | null |
bool | 함수의 성공 여부를 반환한다. 실패시 false를 반환하며 상세한 원인을 Log로 출력한다. |
bool ProximityOn | ( | Proximity | this_gen | ) |
생성한 Proximity를 활성화 시킨다.
[in] | this_gen | 활성화 시킬 Proximity 객체 |
[out] | null |
bool | 함수의 성공 여부를 반환한다. 실패시 false를 반환하며 상세한 원인을 Log로 출력한다. |
bool RotationVectorOff | ( | RotationVector | this_gen | ) |
생성한 RotationVector를 비활성화 시킨다.
[in] | this_gen | 비활성화 시킬 RotationVector 객체 |
[out] | null |
void |
bool RotationVectorOn | ( | RotationVector | this_gen | ) |
생성한 RotationVector를 활성화 시킨다.
[in] | this_gen | 활성화 시킬 RotationVector 객체 |
[out] | null |
bool | 함수의 성공 여부를 반환한다. 실패시 false를 반환하며 상세한 원인을 Log로 출력한다. |
const char * SensorErrorCheck | ( | int | errCode | ) |
Device Status API에서 발생하는 Error Code들을 확인 해준다.
[in] | errCode | 확인 하고자 하는 Error Code |
[out] | null |
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 |
bool TemperatureOff | ( | Temperature | this_gen | ) |
생성한 Temperature를 비활성화 시킨다.
[in] | this_gen | 비활성화 시킬 Temperature 객체 |
[out] | null |
bool | 함수의 성공 여부를 반환한다. 실패시 false를 반환하며 상세한 원인을 Log로 출력한다. |
bool TemperatureOn | ( | Temperature | this_gen | ) |
생성한 Temperature를 활성화 시킨다.
[in] | this_gen | 활성화 시킬 Temperature 객체 |
[out] | null |
bool | 함수의 성공 여부를 반환한다. 실패시 false를 반환하며 상세한 원인을 Log로 출력한다. |
bool UltraVioletOff | ( | UltraViolet | this_gen | ) |
생성한 UltraViolet를 비활성화 시킨다.
[in] | this_gen | 비활성화 시킬 UltraViolet 객체 |
[out] | null |
bool | 함수의 성공 여부를 반환한다. 실패시 false를 반환하며 상세한 원인을 Log로 출력한다. |
bool UltraVioletOn | ( | UltraViolet | this_gen | ) |
생성한 UltraViolet를 활성화 시킨다.
[in] | this_gen | 활성화 시킬 UltraViolet 객체 |
[out] | null |
bool | 함수의 성공 여부를 반환한다. 실패시 false를 반환하며 상세한 원인을 Log로 출력한다. |