Measuring Arterial Oxygen Saturation Using Wearable Devices Under Varying Conditions.