Added in API level 34

TimeInstantRangeFilter


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

Specification of time range for read and delete requests. Internally represents a SQLLite argument that specifies start and end time to put in as SQLLite parameters. The filter must be bound at least at one of the ends, i.e., either the start or end time must be set, or else an IllegalArgumentException is thrown.

Summary

Nested classes

Builder class for TimeInstantRangeFilter

Public methods
Boolean
equals(other: Any?)

Instant?

Instant?

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(): Instant?
Return
Instant? end time instant of this filter This value may be null.

getStartTime

Added in API level 34
fun getStartTime(): Instant?
Return
Instant? start time instant 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.