Package cn.leancloud.callback
Class FunctionCallback<T>
java.lang.Object
cn.leancloud.callback.LCCallback<T>
cn.leancloud.callback.FunctionCallback<T>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract voiddone(T object, LCException e) Override this function with the code you want to run after the cloud function is complete.protected final voidinternalDone0(T returnValue, LCException e) Methods inherited from class cn.leancloud.callback.LCCallback
internalDone, internalDone, setMainThreadChecker
-
Constructor Details
-
FunctionCallback
public FunctionCallback()
-
-
Method Details
-
done
Override this function with the code you want to run after the cloud function is complete.- Parameters:
object- The object that was returned by the cloud function.e- The exception raised by the cloud call, or null if it succeeded.
-
internalDone0
- Specified by:
internalDone0in classLCCallback<T>
-