public abstract class CountCallback extends LCCallback<Integer>
Constructor and Description |
---|
CountCallback() |
Modifier and Type | Method and Description |
---|---|
abstract void |
done(int count,
LCException e)
Override this function with the code you want to run after the count is complete.
|
protected void |
internalDone0(Integer returnValue,
LCException e)
internal done function.
|
internalDone, internalDone, setMainThreadChecker
public abstract void done(int count, LCException e)
count
- The number of objects matching the query, or -1 if it failed.e
- The exception raised by the count, or null if it succeeded.protected final void internalDone0(Integer returnValue, LCException e)
internalDone0
in class LCCallback<Integer>
returnValue
- return value.e
- exception.Copyright © 2020, 美味书签(北京)信息技术有限公司 All rights reserved.