HealthPermissions


public final class HealthPermissions
extends Object

java.lang.Object
   ↳ android.health.connect.HealthPermissions


Permissions for accessing the HealthConnect APIs.

Apps must support Intent.ACTION_VIEW_PERMISSION_USAGE with HealthConnectManager.CATEGORY_HEALTH_PERMISSIONS category to be granted read/write health data permissions.

Summary

Constants

String READ_ACTIVE_CALORIES_BURNED

Allows an application to read the user's active calories burned data.

String READ_ACTIVITY_INTENSITY

Allows an application to read the user's activity intensity data.

String READ_BASAL_BODY_TEMPERATURE

Allows an application to read the user's body temperature data.

String READ_BASAL_METABOLIC_RATE

Allows an application to read the user's basal metabolic rate data.

String READ_BLOOD_GLUCOSE

Allows an application to read the user's blood glucose data.

String READ_BLOOD_PRESSURE

Allows an application to read the user's blood pressure data.

String READ_BODY_FAT

Allows an application to read the user's body fat data.

String READ_BODY_TEMPERATURE

Allows an application to read the user's body temperature data.

String READ_BODY_WATER_MASS

Allows an application to read the user's body water mass data.

String READ_BONE_MASS

Allows an application to read the user's bone mass data.

String READ_CERVICAL_MUCUS

Allows an application to read the user's cervical mucus data.

String READ_DISTANCE

Allows an application to read the user's distance data.

String READ_ELEVATION_GAINED

Allows an application to read the user's elevation gained data.

String READ_EXERCISE

Allows an application to read the user's exercise data.

String READ_EXERCISE_ROUTES

Allows an application to read ExerciseRoute.

String READ_FLOORS_CLIMBED

Allows an application to read the user's floors climbed data.

String READ_HEALTH_DATA_HISTORY

Allows an application to read the entire history of health data (of any type).

String READ_HEALTH_DATA_IN_BACKGROUND

Allows an application to read health data (of any type) in background.

String READ_HEART_RATE

Allows an application to read the user's heart rate data.

String READ_HEART_RATE_VARIABILITY

Allows an application to read the user's heart rate variability data.

String READ_HEIGHT

Allows an application to read the user's height data.

String READ_HYDRATION

Allows an application to read the user's hydration data.

String READ_INTERMENSTRUAL_BLEEDING

Allows an application to read the user's intermenstrual bleeding data.

String READ_LEAN_BODY_MASS

Allows an application to read the user's lean body mass data.

String READ_MEDICAL_DATA_ALLERGIES_INTOLERANCES

Allows an application to read the user's data about allergies and intolerances.

String READ_MEDICAL_DATA_CONDITIONS

Allows an application to read the user's data about medical conditions.

String READ_MEDICAL_DATA_LABORATORY_RESULTS

Allows an application to read the user's laboratory result data.

String READ_MEDICAL_DATA_MEDICATIONS

Allows an application to read the user's medication data.

String READ_MEDICAL_DATA_PERSONAL_DETAILS

Allows an application to read the user's personal details.

String READ_MEDICAL_DATA_PRACTITIONER_DETAILS

Allows an application to read the user's data about the practitioners who have interacted with them in their medical record.

String READ_MEDICAL_DATA_PREGNANCY

Allows an application to read the user's pregnancy data.

String READ_MEDICAL_DATA_PROCEDURES

Allows an application to read the user's data about medical procedures.

String READ_MEDICAL_DATA_SOCIAL_HISTORY

Allows an application to read the user's social history data.

String READ_MEDICAL_DATA_VACCINES

Allows an application to read the user's data about immunizations and vaccinations.

String READ_MEDICAL_DATA_VISITS

Allows an application to read the user's information about their encounters with health care practitioners, including things like location, time of appointment, and name of organization the visit was with.

String READ_MEDICAL_DATA_VITAL_SIGNS

Allows an application to read the user's vital signs data.

String READ_MENSTRUATION

Allows an application to read the user's menstruation data.

String READ_MINDFULNESS

Allows an application to read user's mindfulness data.

String READ_NUTRITION

Allows an application to read the user's nutrition data.

String READ_OVULATION_TEST

Allows an application to read the user's ovulation test data.

String READ_OXYGEN_SATURATION

Allows an application to read the user's oxygen saturation data.

String READ_PLANNED_EXERCISE

Allows an application to read the user's training plan data.

String READ_POWER

Allows an application to read the user's power data.

String READ_RESPIRATORY_RATE

Allows an application to read the user's respiratory rate data.

String READ_RESTING_HEART_RATE

Allows an application to read the user's resting heart rate data.

String READ_SEXUAL_ACTIVITY

Allows an application to read the user's sexual activity data.

String READ_SKIN_TEMPERATURE

Allows an application to read the user's skin temperature data.

String READ_SLEEP

Allows an application to read the user's sleep data.

String READ_SPEED

Allows an application to read the user's speed data.

String READ_STEPS

Allows an application to read the user's steps data.

String READ_TOTAL_CALORIES_BURNED

Allows an application to read the user's total calories burned data.

String READ_VO2_MAX

Allows an application to read the user's vo2 maximum data.

String READ_WEIGHT

Allows an application to read the user's weight data.

String READ_WHEELCHAIR_PUSHES

Allows an application to read the user's wheelchair pushes data.

String WRITE_ACTIVE_CALORIES_BURNED

Allows an application to write the user's calories burned data.

String WRITE_ACTIVITY_INTENSITY

Allows an application to write the user's activity intensity data.

String WRITE_BASAL_BODY_TEMPERATURE

Allows an application to write the user's basal body temperature data.

String WRITE_BASAL_METABOLIC_RATE

Allows an application to write the user's basal metabolic rate data.

String WRITE_BLOOD_GLUCOSE

Allows an application to write the user's blood glucose data.

String WRITE_BLOOD_PRESSURE

Allows an application to write the user's blood pressure data.

String WRITE_BODY_FAT

Allows an application to write the user's body fat data.

String WRITE_BODY_TEMPERATURE

Allows an application to write the user's body temperature data.

String WRITE_BODY_WATER_MASS

Allows an application to write the user's body water mass data.

String WRITE_BONE_MASS

Allows an application to write the user's bone mass data.

String WRITE_CERVICAL_MUCUS

Allows an application to write the user's cervical mucus data.

String WRITE_DISTANCE

Allows an application to write the user's distance data.

String WRITE_ELEVATION_GAINED

Allows an application to write the user's elevation gained data.

String WRITE_EXERCISE

Allows an application to write the user's exercise data.

String WRITE_EXERCISE_ROUTE

Allows an application to write the user's exercise route.

String WRITE_FLOORS_CLIMBED

Allows an application to write the user's floors climbed data.

String WRITE_HEART_RATE

Allows an application to write the user's heart rate data.

String WRITE_HEART_RATE_VARIABILITY

Allows an application to write the user's heart rate variability data.

String WRITE_HEIGHT

Allows an application to write the user's height data.

String WRITE_HYDRATION

Allows an application to write the user's hydration data.

String WRITE_INTERMENSTRUAL_BLEEDING

Allows an application to write the user's intermenstrual bleeding data.

String WRITE_LEAN_BODY_MASS

Allows an application to write the user's lean body mass data.

String WRITE_MEDICAL_DATA

Allows an application to write the user's medical data.

String WRITE_MENSTRUATION

Allows an application to write the user's menstruation data.

String WRITE_MINDFULNESS

Allows an application to write user's mindfulness data.

String WRITE_NUTRITION

Allows an application to write the user's nutrition data.

String WRITE_OVULATION_TEST

Allows an application to write the user's ovulation test data.

String WRITE_OXYGEN_SATURATION

Allows an application to write the user's oxygen saturation data.

String WRITE_PLANNED_EXERCISE

Allows an application to write the user's training plan data.

String WRITE_POWER

Allows an application to write the user's power data.

String WRITE_RESPIRATORY_RATE

Allows an application to write the user's respiratory rate data.

String WRITE_RESTING_HEART_RATE

Allows an application to write the user's resting heart rate data.

String WRITE_SEXUAL_ACTIVITY

Allows an application to write the user's sexual activity data.

String WRITE_SKIN_TEMPERATURE

Allows an application to write the user's skin temperature data.

String WRITE_SLEEP

Allows an application to write the user's sleep data.

String WRITE_SPEED

Allows an application to write the user's speed data.

String WRITE_STEPS

Allows an application to write the user's steps data.

String WRITE_TOTAL_CALORIES_BURNED

Allows an application to write the user's total calories burned data.

String WRITE_VO2_MAX

Allows an application to write the user's vo2 maximum data.

String WRITE_WEIGHT

Allows an application to write the user's weight data.

String WRITE_WHEELCHAIR_PUSHES

Allows an application to write the user's wheelchair pushes data.

Inherited methods

Constants

READ_ACTIVE_CALORIES_BURNED

Added in API level 34
public static final String READ_ACTIVE_CALORIES_BURNED

Allows an application to read the user's active calories burned data.

Protection level: dangerous.

Constant Value: "android.permission.health.READ_ACTIVE_CALORIES_BURNED"

READ_ACTIVITY_INTENSITY

public static final String READ_ACTIVITY_INTENSITY

Allows an application to read the user's activity intensity data.

Protection level: dangerous.

Constant Value: "android.permission.health.READ_ACTIVITY_INTENSITY"

READ_BASAL_BODY_TEMPERATURE

Added in API level 34
public static final String READ_BASAL_BODY_TEMPERATURE

Allows an application to read the user's body temperature data.

Protection level: dangerous.

Constant Value: "android.permission.health.READ_BASAL_BODY_TEMPERATURE"

READ_BASAL_METABOLIC_RATE

Added in API level 34
public static final String READ_BASAL_METABOLIC_RATE

Allows an application to read the user's basal metabolic rate data.

Protection level: dangerous.

Constant Value: "android.permission.health.READ_BASAL_METABOLIC_RATE"

READ_BLOOD_GLUCOSE

Added in API level 34
public static final String READ_BLOOD_GLUCOSE

Allows an application to read the user's blood glucose data.

Protection level: dangerous.

Constant Value: "android.permission.health.READ_BLOOD_GLUCOSE"

READ_BLOOD_PRESSURE

Added in API level 34
public static final String READ_BLOOD_PRESSURE

Allows an application to read the user's blood pressure data.

Protection level: dangerous.

Constant Value: "android.permission.health.READ_BLOOD_PRESSURE"

READ_BODY_FAT

Added in API level 34
public static final String READ_BODY_FAT

Allows an application to read the user's body fat data.

Protection level: dangerous.

Constant Value: "android.permission.health.READ_BODY_FAT"

READ_BODY_TEMPERATURE

Added in API level 34
public static final String READ_BODY_TEMPERATURE

Allows an application to read the user's body temperature data.

Protection level: dangerous.

Constant Value: "android.permission.health.READ_BODY_TEMPERATURE"

READ_BODY_WATER_MASS

Added in API level 34
public static final String READ_BODY_WATER_MASS

Allows an application to read the user's body water mass data.

Protection level: dangerous.

Constant Value: "android.permission.health.READ_BODY_WATER_MASS"

READ_BONE_MASS

Added in API level 34
public static final String READ_BONE_MASS

Allows an application to read the user's bone mass data.

Protection level: dangerous.

Constant Value: "android.permission.health.READ_BONE_MASS"

READ_CERVICAL_MUCUS

Added in API level 34
public static final String READ_CERVICAL_MUCUS

Allows an application to read the user's cervical mucus data.

Protection level: dangerous.

Constant Value: "android.permission.health.READ_CERVICAL_MUCUS"

READ_DISTANCE

Added in API level 34
public static final String READ_DISTANCE

Allows an application to read the user's distance data.

Protection level: dangerous.

Constant Value: "android.permission.health.READ_DISTANCE"

READ_ELEVATION_GAINED

Added in API level 34
public static final String READ_ELEVATION_GAINED

Allows an application to read the user's elevation gained data.

Protection level: dangerous.

Constant Value: "android.permission.health.READ_ELEVATION_GAINED"

READ_EXERCISE

Added in API level 34
public static final String READ_EXERCISE

Allows an application to read the user's exercise data.

Protection level: dangerous.

Constant Value: "android.permission.health.READ_EXERCISE"

READ_EXERCISE_ROUTES

Added in API level 35
Also in U Extensions 12
public static final String READ_EXERCISE_ROUTES

Allows an application to read ExerciseRoute.

This permission can only be granted manually by a user in Health Connect settings or in the route request activity which can be launched using ERROR(/ACTION_REQUEST_EXERCISE_ROUTE). Attempts to request the permission by applications will be ignored.

Applications should check if the permission has been granted before reading ExerciseRoute.

Protection level: dangerous.

Constant Value: "android.permission.health.READ_EXERCISE_ROUTES"

READ_FLOORS_CLIMBED

Added in API level 34
public static final String READ_FLOORS_CLIMBED

Allows an application to read the user's floors climbed data.

Protection level: dangerous.

Constant Value: "android.permission.health.READ_FLOORS_CLIMBED"

READ_HEALTH_DATA_HISTORY

Added in API level 35
Also in U Extensions 13
public static final String READ_HEALTH_DATA_HISTORY

Allows an application to read the entire history of health data (of any type).

Protection level: dangerous.

Constant Value: "android.permission.health.READ_HEALTH_DATA_HISTORY"

READ_HEALTH_DATA_IN_BACKGROUND

Added in API level 35
Also in U Extensions 13
public static final String READ_HEALTH_DATA_IN_BACKGROUND

Allows an application to read health data (of any type) in background.

Protection level: dangerous.

Constant Value: "android.permission.health.READ_HEALTH_DATA_IN_BACKGROUND"

READ_HEART_RATE

Added in API level 34
public static final String READ_HEART_RATE

Allows an application to read the user's heart rate data.

Protection level: dangerous.

Constant Value: "android.permission.health.READ_HEART_RATE"

READ_HEART_RATE_VARIABILITY

Added in API level 34
public static final String READ_HEART_RATE_VARIABILITY

Allows an application to read the user's heart rate variability data.

Protection level: dangerous.

Constant Value: "android.permission.health.READ_HEART_RATE_VARIABILITY"

READ_HEIGHT

Added in API level 34
public static final String READ_HEIGHT

Allows an application to read the user's height data.

Protection level: dangerous.

Constant Value: "android.permission.health.READ_HEIGHT"

READ_HYDRATION

Added in API level 34
public static final String READ_HYDRATION

Allows an application to read the user's hydration data.

Protection level: dangerous.

Constant Value: "android.permission.health.READ_HYDRATION"

READ_INTERMENSTRUAL_BLEEDING

Added in API level 34
public static final String READ_INTERMENSTRUAL_BLEEDING

Allows an application to read the user's intermenstrual bleeding data.

Protection level: dangerous.

Constant Value: "android.permission.health.READ_INTERMENSTRUAL_BLEEDING"

READ_LEAN_BODY_MASS

Added in API level 34
public static final String READ_LEAN_BODY_MASS

Allows an application to read the user's lean body mass data.

Protection level: dangerous.

Constant Value: "android.permission.health.READ_LEAN_BODY_MASS"

READ_MEDICAL_DATA_ALLERGIES_INTOLERANCES

public static final String READ_MEDICAL_DATA_ALLERGIES_INTOLERANCES

Allows an application to read the user's data about allergies and intolerances.

Protection level: dangerous.

Constant Value: "android.permission.health.READ_MEDICAL_DATA_ALLERGIES_INTOLERANCES"

READ_MEDICAL_DATA_CONDITIONS

public static final String READ_MEDICAL_DATA_CONDITIONS

Allows an application to read the user's data about medical conditions.

Protection level: dangerous.

Constant Value: "android.permission.health.READ_MEDICAL_DATA_CONDITIONS"

READ_MEDICAL_DATA_LABORATORY_RESULTS

public static final String READ_MEDICAL_DATA_LABORATORY_RESULTS

Allows an application to read the user's laboratory result data.

Protection level: dangerous.

Constant Value: "android.permission.health.READ_MEDICAL_DATA_LABORATORY_RESULTS"

READ_MEDICAL_DATA_MEDICATIONS

public static final String READ_MEDICAL_DATA_MEDICATIONS

Allows an application to read the user's medication data.

Protection level: dangerous.

Constant Value: "android.permission.health.READ_MEDICAL_DATA_MEDICATIONS"

READ_MEDICAL_DATA_PERSONAL_DETAILS

public static final String READ_MEDICAL_DATA_PERSONAL_DETAILS

Allows an application to read the user's personal details.

This is demographic information such as name, date of birth, contact details like address or telephone number and so on. For more examples see the FHIR Patient resource.

Protection level: dangerous.

Constant Value: "android.permission.health.READ_MEDICAL_DATA_PERSONAL_DETAILS"

READ_MEDICAL_DATA_PRACTITIONER_DETAILS

public static final String READ_MEDICAL_DATA_PRACTITIONER_DETAILS

Allows an application to read the user's data about the practitioners who have interacted with them in their medical record. This is the information about the clinicians (doctors, nurses, etc) but also other practitioners (masseurs, physiotherapists, etc) who have been involved with the patient.

Protection level: dangerous.

Constant Value: "android.permission.health.READ_MEDICAL_DATA_PRACTITIONER_DETAILS"

READ_MEDICAL_DATA_PREGNANCY

public static final String READ_MEDICAL_DATA_PREGNANCY

Allows an application to read the user's pregnancy data.

Protection level: dangerous.

Constant Value: "android.permission.health.READ_MEDICAL_DATA_PREGNANCY"

READ_MEDICAL_DATA_PROCEDURES

public static final String READ_MEDICAL_DATA_PROCEDURES

Allows an application to read the user's data about medical procedures.

Protection level: dangerous.

Constant Value: "android.permission.health.READ_MEDICAL_DATA_PROCEDURES"

READ_MEDICAL_DATA_SOCIAL_HISTORY

public static final String READ_MEDICAL_DATA_SOCIAL_HISTORY

Allows an application to read the user's social history data.

Protection level: dangerous.

Constant Value: "android.permission.health.READ_MEDICAL_DATA_SOCIAL_HISTORY"

READ_MEDICAL_DATA_VACCINES

public static final String READ_MEDICAL_DATA_VACCINES

Allows an application to read the user's data about immunizations and vaccinations.

Protection level: dangerous.

Constant Value: "android.permission.health.READ_MEDICAL_DATA_VACCINES"

READ_MEDICAL_DATA_VISITS

public static final String READ_MEDICAL_DATA_VISITS

Allows an application to read the user's information about their encounters with health care practitioners, including things like location, time of appointment, and name of organization the visit was with. Despite the name visit it covers remote encounters such as telephone or videoconference appointments.

Protection level: dangerous.

Constant Value: "android.permission.health.READ_MEDICAL_DATA_VISITS"

READ_MEDICAL_DATA_VITAL_SIGNS

public static final String READ_MEDICAL_DATA_VITAL_SIGNS

Allows an application to read the user's vital signs data.

Protection level: dangerous.

Constant Value: "android.permission.health.READ_MEDICAL_DATA_VITAL_SIGNS"

READ_MENSTRUATION

Added in API level 34
public static final String READ_MENSTRUATION

Allows an application to read the user's menstruation data.

Protection level: dangerous.

Constant Value: "android.permission.health.READ_MENSTRUATION"

READ_MINDFULNESS

Added in U Extensions 15
public static final String READ_MINDFULNESS

Allows an application to read user's mindfulness data.

Protection level: dangerous.

Constant Value: "android.permission.health.READ_MINDFULNESS"

READ_NUTRITION

Added in API level 34
public static final String READ_NUTRITION

Allows an application to read the user's nutrition data.

Protection level: dangerous.

Constant Value: "android.permission.health.READ_NUTRITION"

READ_OVULATION_TEST

Added in API level 34
public static final String READ_OVULATION_TEST

Allows an application to read the user's ovulation test data.

Protection level: dangerous.

Constant Value: "android.permission.health.READ_OVULATION_TEST"

READ_OXYGEN_SATURATION

Added in API level 34
public static final String READ_OXYGEN_SATURATION

Allows an application to read the user's oxygen saturation data.

Protection level: dangerous.

Constant Value: "android.permission.health.READ_OXYGEN_SATURATION"

READ_PLANNED_EXERCISE

Added in API level 35
Also in U Extensions 13
public static final String READ_PLANNED_EXERCISE

Allows an application to read the user's training plan data.

Protection level: dangerous.

Constant Value: "android.permission.health.READ_PLANNED_EXERCISE"

READ_POWER

Added in API level 34
public static final String READ_POWER

Allows an application to read the user's power data.

Protection level: dangerous.

Constant Value: "android.permission.health.READ_POWER"

READ_RESPIRATORY_RATE

Added in API level 34
public static final String READ_RESPIRATORY_RATE

Allows an application to read the user's respiratory rate data.

Protection level: dangerous.

Constant Value: "android.permission.health.READ_RESPIRATORY_RATE"

READ_RESTING_HEART_RATE

Added in API level 34
public static final String READ_RESTING_HEART_RATE

Allows an application to read the user's resting heart rate data.

Protection level: dangerous.

Constant Value: "android.permission.health.READ_RESTING_HEART_RATE"

READ_SEXUAL_ACTIVITY

Added in API level 34
public static final String READ_SEXUAL_ACTIVITY

Allows an application to read the user's sexual activity data.

Protection level: dangerous.

Constant Value: "android.permission.health.READ_SEXUAL_ACTIVITY"

READ_SKIN_TEMPERATURE

Added in API level 35
Also in U Extensions 13
public static final String READ_SKIN_TEMPERATURE

Allows an application to read the user's skin temperature data.

Protection level: dangerous.

Constant Value: "android.permission.health.READ_SKIN_TEMPERATURE"

READ_SLEEP

Added in API level 34
public static final String READ_SLEEP

Allows an application to read the user's sleep data.

Protection level: dangerous.

Constant Value: "android.permission.health.READ_SLEEP"

READ_SPEED

Added in API level 34
public static final String READ_SPEED

Allows an application to read the user's speed data.

Protection level: dangerous.

Constant Value: "android.permission.health.READ_SPEED"

READ_STEPS

Added in API level 34
public static final String READ_STEPS

Allows an application to read the user's steps data.

Protection level: dangerous.

Constant Value: "android.permission.health.READ_STEPS"

READ_TOTAL_CALORIES_BURNED

Added in API level 34
public static final String READ_TOTAL_CALORIES_BURNED

Allows an application to read the user's total calories burned data.

Protection level: dangerous.

Constant Value: "android.permission.health.READ_TOTAL_CALORIES_BURNED"

READ_VO2_MAX

Added in API level 34
public static final String READ_VO2_MAX

Allows an application to read the user's vo2 maximum data.

Protection level: dangerous.

Constant Value: "android.permission.health.READ_VO2_MAX"

READ_WEIGHT

Added in API level 34
public static final String READ_WEIGHT

Allows an application to read the user's weight data.

Protection level: dangerous.

Constant Value: "android.permission.health.READ_WEIGHT"

READ_WHEELCHAIR_PUSHES

Added in API level 34
public static final String READ_WHEELCHAIR_PUSHES

Allows an application to read the user's wheelchair pushes data.

Protection level: dangerous.

Constant Value: "android.permission.health.READ_WHEELCHAIR_PUSHES"

WRITE_ACTIVE_CALORIES_BURNED

Added in API level 34
public static final String WRITE_ACTIVE_CALORIES_BURNED

Allows an application to write the user's calories burned data.

Protection level: dangerous.

Constant Value: "android.permission.health.WRITE_ACTIVE_CALORIES_BURNED"

WRITE_ACTIVITY_INTENSITY

public static final String WRITE_ACTIVITY_INTENSITY

Allows an application to write the user's activity intensity data.

Protection level: dangerous.

Constant Value: "android.permission.health.WRITE_ACTIVITY_INTENSITY"

WRITE_BASAL_BODY_TEMPERATURE

Added in API level 34
public static final String WRITE_BASAL_BODY_TEMPERATURE

Allows an application to write the user's basal body temperature data.

Protection level: dangerous.

Constant Value: "android.permission.health.WRITE_BASAL_BODY_TEMPERATURE"

WRITE_BASAL_METABOLIC_RATE

Added in API level 34
public static final String WRITE_BASAL_METABOLIC_RATE

Allows an application to write the user's basal metabolic rate data.

Protection level: dangerous.

Constant Value: "android.permission.health.WRITE_BASAL_METABOLIC_RATE"

WRITE_BLOOD_GLUCOSE

Added in API level 34
public static final String WRITE_BLOOD_GLUCOSE

Allows an application to write the user's blood glucose data.

Protection level: dangerous.

Constant Value: "android.permission.health.WRITE_BLOOD_GLUCOSE"

WRITE_BLOOD_PRESSURE

Added in API level 34
public static final String WRITE_BLOOD_PRESSURE

Allows an application to write the user's blood pressure data.

Protection level: dangerous.

Constant Value: "android.permission.health.WRITE_BLOOD_PRESSURE"

WRITE_BODY_FAT

Added in API level 34
public static final String WRITE_BODY_FAT

Allows an application to write the user's body fat data.

Protection level: dangerous.

Constant Value: "android.permission.health.WRITE_BODY_FAT"

WRITE_BODY_TEMPERATURE

Added in API level 34
public static final String WRITE_BODY_TEMPERATURE

Allows an application to write the user's body temperature data.

Protection level: dangerous.

Constant Value: "android.permission.health.WRITE_BODY_TEMPERATURE"

WRITE_BODY_WATER_MASS

Added in API level 34
public static final String WRITE_BODY_WATER_MASS

Allows an application to write the user's body water mass data.

Protection level: dangerous.

Constant Value: "android.permission.health.WRITE_BODY_WATER_MASS"

WRITE_BONE_MASS

Added in API level 34
public static final String WRITE_BONE_MASS

Allows an application to write the user's bone mass data.

Protection level: dangerous.

Constant Value: "android.permission.health.WRITE_BONE_MASS"

WRITE_CERVICAL_MUCUS

Added in API level 34
public static final String WRITE_CERVICAL_MUCUS

Allows an application to write the user's cervical mucus data.

Protection level: dangerous.

Constant Value: "android.permission.health.WRITE_CERVICAL_MUCUS"

WRITE_DISTANCE

Added in API level 34
public static final String WRITE_DISTANCE

Allows an application to write the user's distance data.

Protection level: dangerous.

Constant Value: "android.permission.health.WRITE_DISTANCE"

WRITE_ELEVATION_GAINED

Added in API level 34
public static final String WRITE_ELEVATION_GAINED

Allows an application to write the user's elevation gained data.

Protection level: dangerous.

Constant Value: "android.permission.health.WRITE_ELEVATION_GAINED"

WRITE_EXERCISE

Added in API level 34
public static final String WRITE_EXERCISE

Allows an application to write the user's exercise data. Additional permission WRITE_EXERCISE_ROUTE is required to write user's exercise route.

Protection level: dangerous.

Constant Value: "android.permission.health.WRITE_EXERCISE"

WRITE_EXERCISE_ROUTE

Added in API level 34
public static final String WRITE_EXERCISE_ROUTE

Allows an application to write the user's exercise route.

Protection level: dangerous.

Constant Value: "android.permission.health.WRITE_EXERCISE_ROUTE"

WRITE_FLOORS_CLIMBED

Added in API level 34
public static final String WRITE_FLOORS_CLIMBED

Allows an application to write the user's floors climbed data.

Protection level: dangerous.

Constant Value: "android.permission.health.WRITE_FLOORS_CLIMBED"

WRITE_HEART_RATE

Added in API level 34
public static final String WRITE_HEART_RATE

Allows an application to write the user's heart rate data.

Protection level: dangerous.

Constant Value: "android.permission.health.WRITE_HEART_RATE"

WRITE_HEART_RATE_VARIABILITY

Added in API level 34
public static final String WRITE_HEART_RATE_VARIABILITY

Allows an application to write the user's heart rate variability data.

Protection level: dangerous.

Constant Value: "android.permission.health.WRITE_HEART_RATE_VARIABILITY"

WRITE_HEIGHT

Added in API level 34
public static final String WRITE_HEIGHT

Allows an application to write the user's height data.

Protection level: dangerous.

Constant Value: "android.permission.health.WRITE_HEIGHT"

WRITE_HYDRATION

Added in API level 34
public static final String WRITE_HYDRATION

Allows an application to write the user's hydration data.

Protection level: dangerous.

Constant Value: "android.permission.health.WRITE_HYDRATION"

WRITE_INTERMENSTRUAL_BLEEDING

Added in API level 34
public static final String WRITE_INTERMENSTRUAL_BLEEDING

Allows an application to write the user's intermenstrual bleeding data.

Protection level: dangerous.

Constant Value: "android.permission.health.WRITE_INTERMENSTRUAL_BLEEDING"

WRITE_LEAN_BODY_MASS

Added in API level 34
public static final String WRITE_LEAN_BODY_MASS

Allows an application to write the user's lean body mass data.

Protection level: dangerous.

Constant Value: "android.permission.health.WRITE_LEAN_BODY_MASS"

WRITE_MEDICAL_DATA

public static final String WRITE_MEDICAL_DATA

Allows an application to write the user's medical data.

Protection level: dangerous.

Constant Value: "android.permission.health.WRITE_MEDICAL_DATA"

WRITE_MENSTRUATION

Added in API level 34
public static final String WRITE_MENSTRUATION

Allows an application to write the user's menstruation data.

Protection level: dangerous.

Constant Value: "android.permission.health.WRITE_MENSTRUATION"

WRITE_MINDFULNESS

Added in U Extensions 15
public static final String WRITE_MINDFULNESS

Allows an application to write user's mindfulness data.

Protection level: dangerous.

Constant Value: "android.permission.health.WRITE_MINDFULNESS"

WRITE_NUTRITION

Added in API level 34
public static final String WRITE_NUTRITION

Allows an application to write the user's nutrition data.

Protection level: dangerous.

Constant Value: "android.permission.health.WRITE_NUTRITION"

WRITE_OVULATION_TEST

Added in API level 34
public static final String WRITE_OVULATION_TEST

Allows an application to write the user's ovulation test data.

Protection level: dangerous.

Constant Value: "android.permission.health.WRITE_OVULATION_TEST"

WRITE_OXYGEN_SATURATION

Added in API level 34
public static final String WRITE_OXYGEN_SATURATION

Allows an application to write the user's oxygen saturation data.

Protection level: dangerous.

Constant Value: "android.permission.health.WRITE_OXYGEN_SATURATION"

WRITE_PLANNED_EXERCISE

Added in API level 35
Also in U Extensions 13
public static final String WRITE_PLANNED_EXERCISE

Allows an application to write the user's training plan data.

Protection level: dangerous.

Constant Value: "android.permission.health.WRITE_PLANNED_EXERCISE"

WRITE_POWER

Added in API level 34
public static final String WRITE_POWER

Allows an application to write the user's power data.

Protection level: dangerous.

Constant Value: "android.permission.health.WRITE_POWER"

WRITE_RESPIRATORY_RATE

Added in API level 34
public static final String WRITE_RESPIRATORY_RATE

Allows an application to write the user's respiratory rate data.

Protection level: dangerous.

Constant Value: "android.permission.health.WRITE_RESPIRATORY_RATE"

WRITE_RESTING_HEART_RATE

Added in API level 34
public static final String WRITE_RESTING_HEART_RATE

Allows an application to write the user's resting heart rate data.

Protection level: dangerous.

Constant Value: "android.permission.health.WRITE_RESTING_HEART_RATE"

WRITE_SEXUAL_ACTIVITY

Added in API level 34
public static final String WRITE_SEXUAL_ACTIVITY

Allows an application to write the user's sexual activity data.

Protection level: dangerous.

Constant Value: "android.permission.health.WRITE_SEXUAL_ACTIVITY"

WRITE_SKIN_TEMPERATURE

Added in API level 35
Also in U Extensions 13
public static final String WRITE_SKIN_TEMPERATURE

Allows an application to write the user's skin temperature data.

Protection level: dangerous.

Constant Value: "android.permission.health.WRITE_SKIN_TEMPERATURE"

WRITE_SLEEP

Added in API level 34
public static final String WRITE_SLEEP

Allows an application to write the user's sleep data.

Protection level: dangerous.

Constant Value: "android.permission.health.WRITE_SLEEP"

WRITE_SPEED

Added in API level 34
public static final String WRITE_SPEED

Allows an application to write the user's speed data.

Protection level: dangerous.

Constant Value: "android.permission.health.WRITE_SPEED"

WRITE_STEPS

Added in API level 34
public static final String WRITE_STEPS

Allows an application to write the user's steps data.

Protection level: dangerous.

Constant Value: "android.permission.health.WRITE_STEPS"

WRITE_TOTAL_CALORIES_BURNED

Added in API level 34
public static final String WRITE_TOTAL_CALORIES_BURNED

Allows an application to write the user's total calories burned data.

Protection level: dangerous.

Constant Value: "android.permission.health.WRITE_TOTAL_CALORIES_BURNED"

WRITE_VO2_MAX

Added in API level 34
public static final String WRITE_VO2_MAX

Allows an application to write the user's vo2 maximum data.

Protection level: dangerous.

Constant Value: "android.permission.health.WRITE_VO2_MAX"

WRITE_WEIGHT

Added in API level 34
public static final String WRITE_WEIGHT

Allows an application to write the user's weight data.

Protection level: dangerous.

Constant Value: "android.permission.health.WRITE_WEIGHT"

WRITE_WHEELCHAIR_PUSHES

Added in API level 34
public static final String WRITE_WHEELCHAIR_PUSHES

Allows an application to write the user's wheelchair pushes data.

Protection level: dangerous.

Constant Value: "android.permission.health.WRITE_WHEELCHAIR_PUSHES"