Skip to content

High Fasting Glucose Risk

This indicator is supported for face measurements on iPhones.

The enum definition for the result includes three entries: Low, Medium, and High. However, in this version, only Low and High results will be used.

The High Fasting Glucose Risk value is sent as part of the final results.

The application can receive the High Fasting Glucose Risk result by implementing VitalSignsListener:

Swift
func onFinalResults(results: VitalSignsResults) {
    DispatchQueue.main.async {
        if let highFastingGlucoseRisk = results.getResult(of: VitalSignTypes.highFastingGlucoseRisk) as? VitalSignHighFastingGlucoseRisk {
            print("High Fasting Glucose Risk: \(highFastingGlucoseRisk.value)")
        }
    }
}
Objective-C
- (void)onFinalResultsWithResults:(BIOVitalSignsResults *)results {
    dispatch_async(dispatch_get_main_queue(), ^{
        BIOVitalSignHighFastingGlucoseRisk *highFastingGlucoseRisk = (BIOVitalSignHighFastingGlucoseRisk *)[results getResultOf:BIOVitalSignTypes.highFastingGlucoseRisk];
        if (highFastingGlucoseRisk != nil) {
            NSLog(@"High Fasting Glucose Risk: %@", highFastingGlucoseRisk.value);
        }
    });
}

For general information about vital signs see the Vital Signs and Health Indicators Information Document.

For a list of supported vital signs per platform and measurement mode (face/polar) see the Supported Vital Signs Document.

Important

Note that vital signs are sent on a background thread. The application must switch to the UI thread in order to perform UI updates.