Share via


HealthPermissions.WriteSleep Field

Definition

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

[Android.Runtime.Register("WRITE_SLEEP", ApiSince=34)]
public const string WriteSleep;
[<Android.Runtime.Register("WRITE_SLEEP", ApiSince=34)>]
val mutable WriteSleep : string

Field Value

Attributes

Remarks

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

Protection level: dangerous.

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

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