HealthPermissions Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Permissions for accessing the HealthConnect APIs.
[Android.Runtime.Register("android/health/connect/HealthPermissions", ApiSince=34, DoNotGenerateAcw=true)]
public sealed class HealthPermissions : Java.Lang.Object
[<Android.Runtime.Register("android/health/connect/HealthPermissions", ApiSince=34, DoNotGenerateAcw=true)>]
type HealthPermissions = class
inherit Object
- Inheritance
- Attributes
Remarks
Permissions for accessing the HealthConnect APIs.
Apps must support android.content.Intent#ACTION_VIEW_PERMISSION_USAGE
with HealthConnectManager#CATEGORY_HEALTH_PERMISSIONS
category to be granted read/write health data permissions.
Java documentation for android.health.connect.HealthPermissions
.
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.
Fields
ReadActiveCaloriesBurned |
Allows an application to read the user's active calories burned data. |
ReadBasalBodyTemperature |
Allows an application to read the user's body temperature data. |
ReadBasalMetabolicRate |
Allows an application to read the user's basal metabolic rate data. |
ReadBloodGlucose |
Allows an application to read the user's blood glucose data. |
ReadBloodPressure |
Allows an application to read the user's blood pressure data. |
ReadBodyFat |
Allows an application to read the user's body fat data. |
ReadBodyTemperature |
Allows an application to read the user's body temperature data. |
ReadBodyWaterMass |
Allows an application to read the user's body water mass data. |
ReadBoneMass |
Allows an application to read the user's bone mass data. |
ReadCervicalMucus |
Allows an application to read the user's cervical mucus data. |
ReadDistance |
Allows an application to read the user's distance data. |
ReadElevationGained |
Allows an application to read the user's elevation gained data. |
ReadExercise |
Allows an application to read the user's exercise data. |
ReadExerciseRoutes |
Allows an application to read |
ReadFloorsClimbed |
Allows an application to read the user's floors climbed data. |
ReadHealthDataHistory |
Allows an application to read the entire history of health data (of any type). |
ReadHealthDataInBackground |
Allows an application to read health data (of any type) in background. |
ReadHeartRate |
Allows an application to read the user's heart rate data. |
ReadHeartRateVariability |
Allows an application to read the user's heart rate variability data. |
ReadHeight |
Allows an application to read the user's height data. |
ReadHydration |
Allows an application to read the user's hydration data. |
ReadIntermenstrualBleeding |
Allows an application to read the user's intermenstrual bleeding data. |
ReadLeanBodyMass |
Allows an application to read the user's lean body mass data. |
ReadMenstruation |
Allows an application to read the user's menstruation data. |
ReadNutrition |
Allows an application to read the user's nutrition data. |
ReadOvulationTest |
Allows an application to read the user's ovulation test data. |
ReadOxygenSaturation |
Allows an application to read the user's oxygen saturation data. |
ReadPlannedExercise |
Allows an application to read the user's training plan data. |
ReadPower |
Allows an application to read the user's power data. |
ReadRespiratoryRate |
Allows an application to read the user's respiratory rate data. |
ReadRestingHeartRate |
Allows an application to read the user's resting heart rate data. |
ReadSexualActivity |
Allows an application to read the user's sexual activity data. |
ReadSkinTemperature |
Allows an application to read the user's skin temperature data. |
ReadSleep |
Allows an application to read the user's sleep data. |
ReadSpeed |
Allows an application to read the user's speed data. |
ReadSteps |
Allows an application to read the user's steps data. |
ReadTotalCaloriesBurned |
Allows an application to read the user's total calories burned data. |
ReadVo2Max |
Allows an application to read the user's vo2 maximum data. |
ReadWeight |
Allows an application to read the user's weight data. |
ReadWheelchairPushes |
Allows an application to read the user's wheelchair pushes data. |
WriteActiveCaloriesBurned |
Allows an application to write the user's calories burned data. |
WriteBasalBodyTemperature |
Allows an application to write the user's basal body temperature data. |
WriteBasalMetabolicRate |
Allows an application to write the user's basal metabolic rate data. |
WriteBloodGlucose |
Allows an application to write the user's blood glucose data. |
WriteBloodPressure |
Allows an application to write the user's blood pressure data. |
WriteBodyFat |
Allows an application to write the user's body fat data. |
WriteBodyTemperature |
Allows an application to write the user's body temperature data. |
WriteBodyWaterMass |
Allows an application to write the user's body water mass data. |
WriteBoneMass |
Allows an application to write the user's bone mass data. |
WriteCervicalMucus |
Allows an application to write the user's cervical mucus data. |
WriteDistance |
Allows an application to write the user's distance data. |
WriteElevationGained |
Allows an application to write the user's elevation gained data. |
WriteExercise |
Allows an application to write the user's exercise data. |
WriteExerciseRoute |
Allows an application to write the user's exercise route. |
WriteFloorsClimbed |
Allows an application to write the user's floors climbed data. |
WriteHeartRate |
Allows an application to write the user's heart rate data. |
WriteHeartRateVariability |
Allows an application to write the user's heart rate variability data. |
WriteHeight |
Allows an application to write the user's height data. |
WriteHydration |
Allows an application to write the user's hydration data. |
WriteIntermenstrualBleeding |
Allows an application to write the user's intermenstrual bleeding data. |
WriteLeanBodyMass |
Allows an application to write the user's lean body mass data. |
WriteMenstruation |
Allows an application to write the user's menstruation data. |
WriteNutrition |
Allows an application to write the user's nutrition data. |
WriteOvulationTest |
Allows an application to write the user's ovulation test data. |
WriteOxygenSaturation |
Allows an application to write the user's oxygen saturation data. |
WritePlannedExercise |
Allows an application to write the user's training plan data. |
WritePower |
Allows an application to write the user's power data. |
WriteRespiratoryRate |
Allows an application to write the user's respiratory rate data. |
WriteRestingHeartRate |
Allows an application to write the user's resting heart rate data. |
WriteSexualActivity |
Allows an application to write the user's sexual activity data. |
WriteSkinTemperature |
Allows an application to write the user's skin temperature data. |
WriteSleep |
Allows an application to write the user's sleep data. |
WriteSpeed |
Allows an application to write the user's speed data. |
WriteSteps |
Allows an application to write the user's steps data. |
WriteTotalCaloriesBurned |
Allows an application to write the user's total calories burned data. |
WriteVo2Max |
Allows an application to write the user's vo2 maximum data. |
WriteWeight |
Allows an application to write the user's weight data. |
WriteWheelchairPushes |
Allows an application to write the user's wheelchair pushes data. |
Properties
Class |
Returns the runtime class of this |
Handle |
The handle to the underlying Android instance. (Inherited from Object) |
JniIdentityHashCode | (Inherited from Object) |
JniPeerMembers | |
PeerReference | (Inherited from Object) |
ThresholdClass |
This API supports the Mono for Android infrastructure and is not intended to be used directly from your code. (Inherited from Object) |
ThresholdType |
This API supports the Mono for Android infrastructure and is not intended to be used directly from your code. (Inherited from Object) |
Methods
Clone() |
Creates and returns a copy of this object. (Inherited from Object) |
Dispose() | (Inherited from Object) |
Dispose(Boolean) | (Inherited from Object) |
Equals(Object) |
Indicates whether some other object is "equal to" this one. (Inherited from Object) |
GetHashCode() |
Returns a hash code value for the object. (Inherited from Object) |
JavaFinalize() |
Called by the garbage collector on an object when garbage collection determines that there are no more references to the object. (Inherited from Object) |
Notify() |
Wakes up a single thread that is waiting on this object's monitor. (Inherited from Object) |
NotifyAll() |
Wakes up all threads that are waiting on this object's monitor. (Inherited from Object) |
SetHandle(IntPtr, JniHandleOwnership) |
Sets the Handle property. (Inherited from Object) |
ToArray<T>() | (Inherited from Object) |
ToString() |
Returns a string representation of the object. (Inherited from Object) |
UnregisterFromRuntime() | (Inherited from Object) |
Wait() |
Causes the current thread to wait until it is awakened, typically by being <em>notified</em> or <em>interrupted</em>. (Inherited from Object) |
Wait(Int64, Int32) |
Causes the current thread to wait until it is awakened, typically by being <em>notified</em> or <em>interrupted</em>, or until a certain amount of real time has elapsed. (Inherited from Object) |
Wait(Int64) |
Causes the current thread to wait until it is awakened, typically by being <em>notified</em> or <em>interrupted</em>, or until a certain amount of real time has elapsed. (Inherited from Object) |
Explicit Interface Implementations
IJavaPeerable.Disposed() | (Inherited from Object) |
IJavaPeerable.DisposeUnlessReferenced() | (Inherited from Object) |
IJavaPeerable.Finalized() | (Inherited from Object) |
IJavaPeerable.JniManagedPeerState | (Inherited from Object) |
IJavaPeerable.SetJniIdentityHashCode(Int32) | (Inherited from Object) |
IJavaPeerable.SetJniManagedPeerState(JniManagedPeerStates) | (Inherited from Object) |
IJavaPeerable.SetPeerReference(JniObjectReference) | (Inherited from Object) |
Extension Methods
JavaCast<TResult>(IJavaObject) |
Performs an Android runtime-checked type conversion. |
JavaCast<TResult>(IJavaObject) | |
GetJniTypeName(IJavaPeerable) |
Gets the JNI name of the type of the instance |
JavaAs<TResult>(IJavaPeerable) |
Try to coerce |
TryJavaCast<TResult>(IJavaPeerable, TResult) |
Try to coerce |