Package cn.leancloud.callback
Class CountCallback
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract voiddone(int count, LCException e) Override this function with the code you want to run after the count is complete.protected final voidinternalDone0(Integer returnValue, LCException e) internal done function.Methods inherited from class cn.leancloud.callback.LCCallback
internalDone, internalDone, setMainThreadChecker
-
Constructor Details
-
CountCallback
public CountCallback()
-
-
Method Details
-
done
Override this function with the code you want to run after the count is complete.- Parameters:
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.
-
internalDone0
internal done function.- Specified by:
internalDone0in classLCCallback<Integer>- Parameters:
returnValue- return value.e- exception.
-