public interface IResultCallback<T extends Object>
Callback
abstract Unit
onSuccess(T result)
onError(String errorCode, String errorMessage)
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
abstract Unit onSuccess(T result)
When succeed
result
abstract Unit onError(String errorCode, String errorMessage)
When failed
errorCode
errorMessage