TimeRange

public final class TimeRange

Time range.

Used for Search messages When constrain When time range, Corresponds to internal io.rong.imlib.params.TimeRange.

Query When timeline illustration:

0 -------- startTime -------------------- endTime --------- Now()

Parameters

startTime

Start time stamp (milli seconds), 0 Indicates no start time limit

endTime

End time stamp (milli seconds), 0 Indicates using current time

Constructors

Link copied to clipboard
public TimeRange TimeRange(Long startTime, Long endTime)

Properties

Link copied to clipboard
private final Long endTime
Link copied to clipboard
private final Long startTime

Functions

Link copied to clipboard
public final Long getEndTime()
Link copied to clipboard
public final Long getStartTime()