Added in API level 34

LocalTimeRangeFilter

class LocalTimeRangeFilter : TimeRangeFilter
kotlin.Any
   ↳ android.health.connect.LocalTimeRangeFilter

Specification of local time range for health connect requests.

Summary

Nested classes

Builder class for LocalTimeRangeFilter

Public methods
Boolean
equals(other: Any?)

LocalDateTime?

LocalDateTime?

Int

Boolean

Public methods

equals

Added in API level 34
fun equals(other: Any?): Boolean
Parameters
obj the reference object with which to compare.
Return
Boolean true if this object is the same as the obj argument; false otherwise.

getEndTime

Added in API level 34
fun getEndTime(): LocalDateTime?
Return
LocalDateTime? local end time of this filter This value may be null.

getStartTime

Added in API level 34
fun getStartTime(): LocalDateTime?
Return
LocalDateTime? local start time of this filter This value may be null.

hashCode

Added in API level 34
fun hashCode(): Int
Return
Int a hash code value for this object.

isBounded

Added in API level 34
fun isBounded(): Boolean
Return
Boolean a boolean value indicating if the filter is bound or not. This value cannot be null.