public interface CallHistoryQuery
Modifier and Type | Method and Description |
---|---|
void |
addQueryListener(CallHistoryQueryListener l)
Adds the given CallHistoryQueryListener to the list of
listeners interested in query result changes.
|
void |
cancel()
Cancels this query.
|
java.util.Collection<CallRecord> |
getCallRecords()
Returns a collection of the initial results for this query.
|
java.lang.String |
getQueryString()
Returns the query string, this query was created for.
|
void |
removeQueryListener(CallHistoryQueryListener l)
Removes the given CallHistoryQueryListener from the list of
listeners interested in query result changes.
|
void cancel()
java.lang.String getQueryString()
java.util.Collection<CallRecord> getCallRecords()
This method is meant to be used in order to return first fast initial results and then notify interested parties of additional results through the CallHistoryQueryListener, which should improve user experience when waiting for results.
void addQueryListener(CallHistoryQueryListener l)
l
- the CallHistoryQueryListener to addvoid removeQueryListener(CallHistoryQueryListener l)
l
- the CallHistoryQueryListener to remove
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.