HealthConstants.BloodGlucose
overview package class tree deprecated index com.samsung.android.sdk.healthdata interface healthconstants.bloodglucose all superinterfaces: healthconstants.common, healthconstants.discretemeasurement enclosing class: healthconstants public static interface healthconstants.bloodglucose extends healthconstants.discretemeasurement this interface defines blood glucose data of the user. properties properties of the following extending interfaces are available for this data type. healthconstants.common healthconstants.discretemeasurement blood glucose data has the following properties. see more common properties by spreading this section out. property name description healthconstants.bloodglucose.uuid [mandatory] data's unique id, assigned by the system when a new data is inserted healthconstants.bloodglucose.create_time [mandatory] utc milliseconds when a data is created in the health data store, assigned by the system when a new data is inserted healthconstants.bloodglucose.update_time [mandatory] utc milliseconds when a data is updated in the health data store, assigned by the system when a new data is inserted or the existing data is updated healthconstants.bloodglucose.package_name [mandatory] package name which provides data, assigned by the system when a new data is inserted healthconstants.bloodglucose.device_uuid [mandatory] device identifier which provides the health data healthconstants.bloodglucose.start_time [mandatory] utc when the measurement is started healthconstants.bloodglucose.time_offset [mandatory] time offset in milliseconds which considers the time zone and daylight saving time healthconstants.bloodglucose.glucose [mandatory] measured blood glucose value healthconstants.bloodglucose.measurement_type [mandatory] type of the sample blood healthconstants.bloodglucose.meal_time utc at which meal is taken healthconstants.bloodglucose.meal_type context information for meal healthconstants.bloodglucose.sample_source_type source type of the blood vessel where the sample is taken healthconstants.bloodglucose.comment comment healthconstants.bloodglucose.custom custom info which is formatted with json and compressed data data permission the user's consent is required to read or write this data type. healthpermissionmanager.requestpermissions() displays a data permission ui to the user. see permission manager and request data permission. since: 1.0.0 field summary fields modifier and type field and description static string comment comment for data. static string glucose measured blood glucose value in millimoles per liter. static string health_data_type data type name for blood glucose data. static string meal_time utc milliseconds at which meal is taken. static string meal_type context information for meal. static int meal_type_after_bedtime deprecated. use other meal types. static int meal_type_after_breakfast measurement taken after breakfast. static int meal_type_after_dinner measurement taken after dinner. static int meal_type_after_lunch measurement taken after lunch. static int meal_type_after_meal measurement taken after a meal. static int meal_type_after_snack measurement taken after a snack. static int meal_type_before_breakfast measurement taken before breakfast. static int meal_type_before_dinner measurement taken before dinner. static int meal_type_before_lunch measurement taken before lunch. static int meal_type_before_meal measurement taken before a meal. static int meal_type_before_sleep measurement taken before sleep. static int meal_type_fasting measurement taken during fasting. static int meal_type_general measurement in general. static string measurement_type type of the sample blood for the blood glucose measurement. static int measurement_type_not_defined undefined measurement type. static int measurement_type_plasma plasma measurement type. static int measurement_type_serum serum measurement type. static int measurement_type_whole_blood whole blood measurement type. static string sample_source_type source type of the blood vessel where the sample is taken. static int sample_source_type_capillary capillary sample source type. static int sample_source_type_not_defined sample source type is not defined. static int sample_source_type_venous source type for the venous blood. fields inherited from interface com.samsung.android.sdk.healthdata.healthconstants.discretemeasurement start_time, time_offset fields inherited from interface com.samsung.android.sdk.healthdata.healthconstants.common create_time, custom, device_uuid, package_name, update_time, uuid field detail glucose static final string glucose measured blood glucose value in millimoles per liter. mandatory type: float value range: 1 ~ 40 since: 1.0.0 see also: constant field values meal_time static final string meal_time utc milliseconds at which meal is taken. optional type: long value range: 0 and above since: 1.0.0 see also: constant field values meal_type static final string meal_type context information for meal. optional type: int available values: one of the following values meal_type_general meal_type_fasting meal_type_before_meal meal_type_after_meal meal_type_before_breakfast meal_type_after_breakfast meal_type_before_lunch meal_type_after_lunch meal_type_before_dinner meal_type_after_dinner meal_type_after_snack meal_type_before_sleep is the blood glucose data's meal type shown differently on samsung health? the meal type of inserted blood glucose data can be shown differently on samsung health because its ui policy can be changed when samsung health is updated. e.g. blood glucose data that is saved with meal_type_before_breakfast can be shown as pre-meal on samsung health and meal_type_after_snack can be shown as general. but it doesn't affect to data. its meal type is meal_type_before_breakfast as it is. since: 1.0.0 see also: constant field values meal_type_fasting static final int meal_type_fasting measurement taken during fasting. its constant value is 80001. refer to here for the blood glucose's meal type ui of samsung health. since: 1.0.0 see also: meal_type, constant field values meal_type_after_meal static final int meal_type_after_meal measurement taken after a meal. its constant value is 80002. refer to here for the blood glucose's meal type ui of samsung health. since: 1.0.0 see also: meal_type, constant field values meal_type_before_breakfast static final int meal_type_before_breakfast measurement taken before breakfast. its constant value is 80003. refer to here for the blood glucose's meal type ui of samsung health. since: 1.0.0 see also: meal_type, constant field values meal_type_after_breakfast static final int meal_type_after_breakfast measurement taken after breakfast. its constant value is 80004. refer to here for the blood glucose's meal type ui of samsung health. since: 1.0.0 see also: meal_type, constant field values meal_type_before_lunch static final int meal_type_before_lunch measurement taken before lunch. its constant value is 80005. refer to here for the blood glucose's meal type ui of samsung health. since: 1.0.0 see also: meal_type, constant field values meal_type_after_lunch static final int meal_type_after_lunch measurement taken after lunch. its constant value is 80006. refer to here for the blood glucose's meal type ui of samsung health. since: 1.0.0 see also: meal_type, constant field values meal_type_before_dinner static final int meal_type_before_dinner measurement taken before dinner. its constant value is 80007. refer to here for the blood glucose's meal type ui of samsung health. since: 1.0.0 see also: meal_type, constant field values meal_type_after_dinner static final int meal_type_after_dinner measurement taken after dinner. its constant value is 80008. refer to here for the blood glucose's meal type ui of samsung health. since: 1.0.0 see also: meal_type, constant field values meal_type_after_bedtime @deprecated static final int meal_type_after_bedtime deprecated. use other meal types. measurement taken after bedtime. its constant value is 80009. refer to here for the blood glucose's meal type ui of samsung health. since: 1.0.0 see also: meal_type, constant field values meal_type_after_snack static final int meal_type_after_snack measurement taken after a snack. its constant value is 80010. refer to here for the blood glucose's meal type ui of samsung health. since: 1.0.0 see also: meal_type, constant field values meal_type_before_meal static final int meal_type_before_meal measurement taken before a meal. its constant value is 80011. refer to here for the blood glucose's meal type ui of samsung health. since: 1.1.0 see also: meal_type, constant field values meal_type_general static final int meal_type_general measurement in general. its constant value is 80012. refer to here for the blood glucose's meal type ui of samsung health. since: 1.1.0 see also: meal_type, constant field values meal_type_before_sleep static final int meal_type_before_sleep measurement taken before sleep. its constant value is 80013. refer to here for the blood glucose's meal type ui of samsung health. since: 1.2.1 see also: meal_type, constant field values measurement_type static final string measurement_type type of the sample blood for the blood glucose measurement. mandatory type: int available values: one of the following values measurement_type_whole_blood measurement_type_plasma measurement_type_serum measurement_type_not_defined since: 1.0.0 see also: constant field values measurement_type_whole_blood static final int measurement_type_whole_blood whole blood measurement type. its constant value is 90001. since: 1.0.0 see also: measurement_type, constant field values measurement_type_plasma static final int measurement_type_plasma plasma measurement type. its constant value is 90002. since: 1.0.0 see also: measurement_type, constant field values measurement_type_serum static final int measurement_type_serum serum measurement type. its constant value is 90003. since: 1.0.0 see also: measurement_type, constant field values measurement_type_not_defined static final int measurement_type_not_defined undefined measurement type. its constant value is -1. since: 1.0.0 see also: measurement_type, constant field values sample_source_type static final string sample_source_type source type of the blood vessel where the sample is taken. optional type: int available values: one of the following values sample_source_type_venous sample_source_type_capillary sample_source_type_not_defined since: 1.0.0 see also: constant field values sample_source_type_venous static final int sample_source_type_venous source type for the venous blood. its constant value is 90001. since: 1.0.0 see also: sample_source_type, constant field values sample_source_type_capillary static final int sample_source_type_capillary capillary sample source type. its constant value is 90002. since: 1.0.0 see also: sample_source_type, constant field values sample_source_type_not_defined static final int sample_source_type_not_defined sample source type is not defined. its constant value is -1. since: 1.0.0 see also: sample_source_type, constant field values comment static final string comment comment for data. optional type: string value length: 0 ~ 255 since: 1.0.0 see also: constant field values health_data_type static final string health_data_type data type name for blood glucose data. use "com.samsung.health.blood_glucose" to add permission to the manifest file. since: 1.0.0 see also: constant field values