From: Pawel Wasowski Date: Mon, 23 Oct 2017 10:43:31 +0000 (+0200) Subject: [Web API][Sensor] Fix feature descriptions for HRM_RAW sensor X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=40ad820448eb3217bc56b2b4f0abdab7451611ff;p=sdk%2Fonline-doc.git [Web API][Sensor] Fix feature descriptions for HRM_RAW sensor Change-Id: Id2ff5766c11887c58de78acfab6cec7b9bfbcd52 Signed-off-by: Pawel Wasowski --- diff --git a/org.tizen.guides/html/web/sensors/device_sensors_w.htm b/org.tizen.guides/html/web/sensors/device_sensors_w.htm index 75fa8d6..48e2c15 100644 --- a/org.tizen.guides/html/web/sensors/device_sensors_w.htm +++ b/org.tizen.guides/html/web/sensors/device_sensors_w.htm @@ -96,6 +96,18 @@ http://tizen.org/feature/sensor.heart_rate_monitor + Heart rate monitor sensor (green LED) + http://tizen.org/feature/sensor.heart_rate_monitor.led_green + + + Heart rate monitor sensor (infrared LED) + http://tizen.org/feature/sensor.heart_rate_monitor.led_ir + + + Heart rate monitor sensor (red LED) + http://tizen.org/feature/sensor.heart_rate_monitor.led_red + + Gravity sensor in wearable applications only http://tizen.org/feature/sensor.gravity diff --git a/org.tizen.web.apireference/html/device_api/mobile/tizen/sensor.html b/org.tizen.web.apireference/html/device_api/mobile/tizen/sensor.html index 32f8423..ce583a4 100755 --- a/org.tizen.web.apireference/html/device_api/mobile/tizen/sensor.html +++ b/org.tizen.web.apireference/html/device_api/mobile/tizen/sensor.html @@ -291,7 +291,10 @@ The supported sensor types are hardware-dependent.

To check if the given
  • ULTRAVIOLET - tizen.systeminfo.getCapability("http://tizen.org/feature/sensor.ultraviolet")
  • - HRM_RAW - tizen.systeminfo.getCapability("http://tizen.org/feature/sensor.heart_rate_monitor")
  • + HRM_RAW - HRM_RAW is supported, if at least one HRM LED sensor type is supported: +
    tizen.systeminfo.getCapability("http://tizen.org/feature/sensor.heart_rate_monitor.led_green"), +
    tizen.systeminfo.getCapability("http://tizen.org/feature/sensor.heart_rate_monitor.led_ir"), +
    tizen.systeminfo.getCapability("http://tizen.org/feature/sensor.heart_rate_monitor.led_red")

    diff --git a/org.tizen.web.apireference/html/device_api/wearable/tizen/sensor.html b/org.tizen.web.apireference/html/device_api/wearable/tizen/sensor.html index 5a67305..3219f60 100644 --- a/org.tizen.web.apireference/html/device_api/wearable/tizen/sensor.html +++ b/org.tizen.web.apireference/html/device_api/wearable/tizen/sensor.html @@ -291,7 +291,10 @@ The supported sensor types are hardware-dependent.

    To check if the given

  • ULTRAVIOLET - tizen.systeminfo.getCapability("http://tizen.org/feature/sensor.ultraviolet")
  • - HRM_RAW - tizen.systeminfo.getCapability("http://tizen.org/feature/sensor.heart_rate_monitor")
  • + HRM_RAW - HRM_RAW is supported, if at least one HRM LED sensor type is supported: +
    tizen.systeminfo.getCapability("http://tizen.org/feature/sensor.heart_rate_monitor.led_green"), +
    tizen.systeminfo.getCapability("http://tizen.org/feature/sensor.heart_rate_monitor.led_ir"), +
    tizen.systeminfo.getCapability("http://tizen.org/feature/sensor.heart_rate_monitor.led_red")