SleepGoalType

The data type for getting the sleep goal that a user sets in the Samsung Health application.

Predefined instance

Using the following instance allows for obtaining the sleep goal with more concise code.

Available aggregate operation

Required permission

The user's consent is required to access this data type. Check the granted permissions and request permissions if the required permission is not granted yet with:

See a code example in here. The SleepGoalType provides read-only access.

Available requests

Since

1.0.0

See also

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard
object Companion

Preferences Submitted

You have successfully updated your cookie preferences.