Searched refs:Sensor_Type (Results 1 – 9 of 9) sorted by relevance
/ohos5.0/base/sensors/sensor/interfaces/kits/c/ |
H A D | oh_sensor_type.h | 52 typedef enum Sensor_Type { enum 128 } Sensor_Type; typedef 250 int32_t OH_SensorInfo_GetType(Sensor_Info* sensor, Sensor_Type *sensorType); 300 int32_t OH_SensorEvent_GetType(Sensor_Event* sensorEvent, Sensor_Type *sensorType); 400 int32_t OH_SensorSubscriptionId_GetType(Sensor_SubscriptionId* id, Sensor_Type *sensorType); 411 int32_t OH_SensorSubscriptionId_SetType(Sensor_SubscriptionId* id, const Sensor_Type sensorType);
|
/ohos5.0/docs/zh-cn/application-dev/reference/apis-sensor-service-kit/ |
H A D | _sensor.md | 28 | [Sensor_Type](#sensor_type) | 枚举传感器类型。 | 59 | [OH_SensorInfo_GetType](#oh_sensorinfo_gettype)([Sensor_Info](#sensor_info)* sensor, [Sensor_Type… 63 …(#oh_sensorevent_gettype)([Sensor_Event](#sensor_event)* sensorEvent, [Sensor_Type](#sensor_type) … 180 ### Sensor_Type subsection 183 typedef enum Sensor_Type Sensor_Type 233 ### Sensor_Type subsection 236 enum Sensor_Type 604 int32_t OH_SensorEvent_GetType(Sensor_Event* sensorEvent, Sensor_Type *sensorType) 720 int32_t OH_SensorInfo_GetType(Sensor_Info* sensor, Sensor_Type *sensorType) 859 int32_t OH_SensorSubscriptionId_GetType(Sensor_SubscriptionId* id, Sensor_Type *sensorType) [all …]
|
H A D | oh_sensor_type_8h.md | 24 | [Sensor_Type](_sensor.md#sensor_type) | 枚举传感器类型。 | 39 | [Sensor_Type](_sensor.md#sensor_type) {<br/>SENSOR_TYPE_ACCELEROMETER = 1,<br/>SENSOR_TYPE_GYROSC… 56 …event_gettype) ([Sensor_Event](_sensor.md#sensor_event) *sensorEvent, [Sensor_Type](_sensor.md#sen… 62 …type) ([Sensor_SubscriptionId](_sensor.md#sensor_subscriptionid) *id, [Sensor_Type](_sensor.md#sen… 63 …([Sensor_SubscriptionId](_sensor.md#sensor_subscriptionid) *id, const [Sensor_Type](_sensor.md#sen…
|
/ohos5.0/base/sensors/sensor/frameworks/native/src/ |
H A D | native_sensor.cpp | 139 int32_t OH_SensorInfo_GetType(Sensor_Info* sensor, Sensor_Type *sensorType) in OH_SensorInfo_GetType() 145 *sensorType = static_cast<Sensor_Type>(sensor->sensorTypeId); in OH_SensorInfo_GetType() 219 int32_t OH_SensorEvent_GetType(Sensor_Event* sensorEvent, Sensor_Type *sensorType) in OH_SensorEvent_GetType() 225 *sensorType = static_cast<Sensor_Type>(sensorEvent->sensorTypeId); in OH_SensorEvent_GetType() 260 int32_t OH_SensorSubscriptionId_GetType(Sensor_SubscriptionId* id, Sensor_Type *sensorType) in OH_SensorSubscriptionId_GetType() 266 *sensorType = static_cast<Sensor_Type>(id->sensorType); in OH_SensorSubscriptionId_GetType() 270 int32_t OH_SensorSubscriptionId_SetType(Sensor_SubscriptionId* id, const Sensor_Type sensorType) in OH_SensorSubscriptionId_SetType()
|
/ohos5.0/docs/zh-cn/application-dev/device/sensor/ |
H A D | sensor-guidelines-capi.md | 21 | OH_SensorInfo_GetType(Sensor_Info* sensor, Sensor_Type *sensorType) | 获取传感器类型。 … 25 | OH_SensorEvent_GetType(Sensor_Event* sensorEvent, Sensor_Type *sensorType) | 获取传感器类型。 … 31 | OH_SensorSubscriptionId_SetType(Sensor_SubscriptionId* id, const Sensor_Type sensorType) | 设置传感器类… 80 constexpr Sensor_Type SENSOR_ID { SENSOR_TYPE_ACCELEROMETER }; 102 Sensor_Type sensorType; 156 Sensor_Type sensorType;
|
/ohos5.0/base/sensors/sensor/test/unittest/interfaces/kits/ |
H A D | sensor_native_test.cpp | 37 constexpr Sensor_Type SENSOR_ID { SENSOR_TYPE_AMBIENT_LIGHT }; 66 Sensor_Type sensorType; in SetUpTestCase() 98 Sensor_Type sensorType; in SensorDataCallbackImpl() 123 Sensor_Type *sensorType = nullptr; in SensorDataCallbackImpl1() 154 Sensor_Type sensorType; 329 Sensor_Type *sensorType = nullptr; 561 Sensor_Type type; 581 Sensor_Type type;
|
/ohos5.0/docs/en/application-dev/reference/apis-sensor-service-kit/ |
H A D | _sensor.md | 28 | [Sensor_Type](#sensor_type) | Defines an enum for sensor types. | 59 | [OH_SensorInfo_GetType](#oh_sensorinfo_gettype)([Sensor_Info](#sensor_info)* sensor, [Sensor_Type… 63 …(#oh_sensorevent_gettype)([Sensor_Event](#sensor_event)* sensorEvent, [Sensor_Type](#sensor_type) … 180 ### Sensor_Type subsection 183 typedef enum Sensor_Type Sensor_Type 233 ### Sensor_Type subsection 236 enum Sensor_Type 604 int32_t OH_SensorEvent_GetType(Sensor_Event* sensorEvent, Sensor_Type *sensorType) 720 int32_t OH_SensorInfo_GetType(Sensor_Info* sensor, Sensor_Type *sensorType) 859 int32_t OH_SensorSubscriptionId_GetType(Sensor_SubscriptionId* id, Sensor_Type *sensorType) [all …]
|
H A D | oh_sensor_type_8h.md | 24 | [Sensor_Type](_sensor.md#sensor_type) | Defines an enum for sensor types. | 39 | [Sensor_Type](_sensor.md#sensor_type) {<br>SENSOR_TYPE_ACCELEROMETER = 1,<br>SENSOR_TYPE_GYROSCOP… 56 …event_gettype) ([Sensor_Event](_sensor.md#sensor_event) *sensorEvent, [Sensor_Type](_sensor.md#sen… 62 …type) ([Sensor_SubscriptionId](_sensor.md#sensor_subscriptionid) *id, [Sensor_Type](_sensor.md#sen… 63 …([Sensor_SubscriptionId](_sensor.md#sensor_subscriptionid) *id, const [Sensor_Type](_sensor.md#sen…
|
/ohos5.0/docs/en/application-dev/device/sensor/ |
H A D | sensor-guidelines-capi.md | 21 | OH_SensorInfo_GetType(Sensor_Info* sensor, Sensor_Type *sensorType) | Obtains the sensor type. … 25 | OH_SensorEvent_GetType(Sensor_Event* sensorEvent, Sensor_Type *sensorType) | Obtains the sensor t… 31 | OH_SensorSubscriptionId_SetType(Sensor_SubscriptionId* id, const Sensor_Type sensorType) | Sets t… 80 constexpr Sensor_Type SENSOR_ID { SENSOR_TYPE_ACCELEROMETER }; 102 Sensor_Type sensorType; 156 Sensor_Type sensorType;
|