Language

DeviceDataTypeSource.OfSymptomType(Int32, Boolean, Boolean) Method

Definition

Create a source of SymptomRecord that is provided by a device.

[Android.Runtime.Register("ofSymptomType", "(IZZ)Landroid/health/connect/DeviceDataTypeSource;", "", ApiSince=37)]
public static Android.Health.Connect.DeviceDataTypeSource OfSymptomType(int symptomType, bool isAvailable, bool isUserEnabled);
[<Android.Runtime.Register("ofSymptomType", "(IZZ)Landroid/health/connect/DeviceDataTypeSource;", "", ApiSince=37)>]
static member OfSymptomType : int * bool * bool -> Android.Health.Connect.DeviceDataTypeSource

Parameters

symptomType
Int32

The symptom type provided by this device. Value is one of the following: SymptomRecord.SYMPTOM_TYPE_ABDOMINAL_PAIN; SymptomRecord.SYMPTOM_TYPE_ACNE; SymptomRecord.SYMPTOM_TYPE_BACK_PAIN; SymptomRecord.SYMPTOM_TYPE_BLOATING; SymptomRecord.SYMPTOM_TYPE_BRAIN_FOG; SymptomRecord.SYMPTOM_TYPE_BREAST_TENDERNESS; SymptomRecord.SYMPTOM_TYPE_BRITTLE_NAILS; SymptomRecord.SYMPTOM_TYPE_BURNING_MOUTH; SymptomRecord.SYMPTOM_TYPE_CHEST_PAIN; SymptomRecord.SYMPTOM_TYPE_CHEST_TIGHTNESS; SymptomRecord.SYMPTOM_TYPE_CHILLS; SymptomRecord.SYMPTOM_TYPE_CONSTIPATION; SymptomRecord.SYMPTOM_TYPE_COUGH; SymptomRecord.SYMPTOM_TYPE_CRAMPS; SymptomRecord.SYMPTOM_TYPE_CRAVINGS; SymptomRecord.SYMPTOM_TYPE_DEHYDRATION; SymptomRecord.SYMPTOM_TYPE_DIARRHEA; SymptomRecord.SYMPTOM_TYPE_DIFFICULTY_SWALLOWING; SymptomRecord.SYMPTOM_TYPE_DIZZINESS; SymptomRecord.SYMPTOM_TYPE_DRY_SKIN; SymptomRecord.SYMPTOM_TYPE_EARACHES; SymptomRecord.SYMPTOM_TYPE_FATIGUE; SymptomRecord.SYMPTOM_TYPE_FEVER; SymptomRecord.SYMPTOM_TYPE_GENERALIZED_BODY_ACHE; SymptomRecord.SYMPTOM_TYPE_HAIR_LOSS; SymptomRecord.SYMPTOM_TYPE_HEADACHE; SymptomRecord.SYMPTOM_TYPE_HEARTBURN; SymptomRecord.SYMPTOM_TYPE_HEART_PALPITATIONS; SymptomRecord.SYMPTOM_TYPE_HOT_FLASHES; SymptomRecord.SYMPTOM_TYPE_INSOMNIA; SymptomRecord.SYMPTOM_TYPE_JOINT_PAIN; SymptomRecord.SYMPTOM_TYPE_JOINT_STIFFNESS; SymptomRecord.SYMPTOM_TYPE_LOSS_OF_APPETITE; SymptomRecord.SYMPTOM_TYPE_LOSS_OF_CONSCIOUSNESS; SymptomRecord.SYMPTOM_TYPE_LOWER_BACK_PAIN; SymptomRecord.SYMPTOM_TYPE_MEMORY_LAPSE; SymptomRecord.SYMPTOM_TYPE_MOOD_CHANGE; SymptomRecord.SYMPTOM_TYPE_MUSCLE_PAIN; SymptomRecord.SYMPTOM_TYPE_NAUSEA; SymptomRecord.SYMPTOM_TYPE_NIGHT_SWEATS; SymptomRecord.SYMPTOM_TYPE_PELVIC_PAIN; SymptomRecord.SYMPTOM_TYPE_RAPID_POUNDING_OR_FLUTTERING_HEARTBEAT; SymptomRecord.SYMPTOM_TYPE_REDUCED_CAPACITY_FOR_EXERCISE; SymptomRecord.SYMPTOM_TYPE_RUNNY_NOSE; SymptomRecord.SYMPTOM_TYPE_SHORTNESS_OF_BREATH; SymptomRecord.SYMPTOM_TYPE_SKIPPED_HEARTBEAT; SymptomRecord.SYMPTOM_TYPE_SLEEPINESS; SymptomRecord.SYMPTOM_TYPE_SLEEP_CHANGES; SymptomRecord.SYMPTOM_TYPE_SNEEZING; SymptomRecord.SYMPTOM_TYPE_SNORE; SymptomRecord.SYMPTOM_TYPE_SORE_THROAT; SymptomRecord.SYMPTOM_TYPE_STOMACH_ACHE; SymptomRecord.SYMPTOM_TYPE_STUFFY_NOSE; SymptomRecord.SYMPTOM_TYPE_UNEXPLAINED_WEIGHT_CHANGES; SymptomRecord.SYMPTOM_TYPE_UNKNOWN; SymptomRecord.SYMPTOM_TYPE_VAGINAL_DRYNESS; SymptomRecord.SYMPTOM_TYPE_VAGINAL_ITCHINESS; SymptomRecord.SYMPTOM_TYPE_VOMITING; SymptomRecord.SYMPTOM_TYPE_WATER_RETENTION; SymptomRecord.SYMPTOM_TYPE_WHEEZING

isAvailable
Boolean

Whether this data type is currently available from the device. This may be false if for example, the device is disconnected or out of range.

isUserEnabled
Boolean

Whether the user has enabled this data type for the device.

Returns

Attributes

Remarks

Create a source of SymptomRecord that is provided by a device.

Android reference for android.health.connect.DeviceDataTypeSource.ofSymptomType.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to