SleepSessionRecord.Stage


public final class SleepSessionRecord.Stage


Captures the sleep stage the user entered during a sleep session.

Summary

Public constructors

Stage(@NonNull Instant startTime, @NonNull Instant endTime, int stage)

Public methods

boolean
equals(Object other)
final @NonNull Instant
final int
final @NonNull Instant
int

Public constructors

Stage

Added in 1.1.0-alpha07
public Stage(@NonNull Instant startTime, @NonNull Instant endTime, int stage)

Public methods

equals

public boolean equals(Object other)

getEndTime

Added in 1.1.0-alpha07
public final @NonNull Instant getEndTime()

getStage

Added in 1.1.0-alpha07
public final int getStage()

getStartTime

Added in 1.1.0-alpha07
public final @NonNull Instant getStartTime()

hashCode

public int hashCode()