V - public static class FaceApiThriftClientAsync.DefaultCallback<V> extends java.lang.Object implements com.google.common.util.concurrent.FutureCallback<V>
FutureCallback实现| Constructor and Description |
|---|
DefaultCallback() |
| Modifier and Type | Method and Description |
|---|---|
void |
onFailure(java.lang.Throwable t) |
protected void |
onImageErrorException(ImageErrorException e) |
protected void |
onNotFaceDetectedException(NotFaceDetectedException e) |
protected void |
onServiceRuntimeException(ServiceRuntimeException e) |
void |
onSuccess(V result) |
protected void |
onThrowable(java.lang.Throwable e) |
public DefaultCallback()
public void onSuccess(V result)
onSuccess in interface com.google.common.util.concurrent.FutureCallback<V>public void onFailure(java.lang.Throwable t)
onFailure in interface com.google.common.util.concurrent.FutureCallback<V>protected void onImageErrorException(ImageErrorException e)
protected void onNotFaceDetectedException(NotFaceDetectedException e)
protected void onServiceRuntimeException(ServiceRuntimeException e)
protected void onThrowable(java.lang.Throwable e)
Copyright © 2020. All rights reserved.