Condividi tramite


HealthPermissions.ReadExerciseRoutes Field

Definition

Allows an application to read ExerciseRoute.

[Android.Runtime.Register("READ_EXERCISE_ROUTES", ApiSince=35)]
public const string ReadExerciseRoutes;
[<Android.Runtime.Register("READ_EXERCISE_ROUTES", ApiSince=35)>]
val mutable ReadExerciseRoutes : string

Field Value

Attributes

Remarks

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 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.

Java documentation for android.health.connect.HealthPermissions.READ_EXERCISE_ROUTES.

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