public abstract class AccessTokenCallback extends ResponseCallback<AccessToken> implements AccessTokenListener
Constructor and Description |
---|
AccessTokenCallback() |
Modifier and Type | Method and Description |
---|---|
void |
onDidEnd()
해당 Job이 끝날때 불린다.
|
void |
onDidStart()
해당 Job이 시작될때 불린다.
|
void |
onFailure(ErrorResult errorResult)
요청이 실패한경우 불린다.
|
void |
onFailureForUiThread(ErrorResult errorResult)
요청한 Request가 실패했을때 불리는 callback.
|
void |
onSuccess(AccessToken accessToken)
request에 대한 result.
|
void |
onSuccessForUiThread(AccessToken result)
요청한 Request가 성공했을때 불리는 callback.
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
onAccessTokenFailure, onAccessTokenReceived
public final void onDidEnd()
ResponseCallback
onDidEnd
in class ResponseCallback<AccessToken>
public final void onDidStart()
ResponseCallback
onDidStart
in class ResponseCallback<AccessToken>
public final void onFailure(ErrorResult errorResult)
ResponseCallback
onFailure
in class ResponseCallback<AccessToken>
errorResult
- 실패한 원인이 담긴 결과public final void onFailureForUiThread(ErrorResult errorResult)
ResponseCallback
onFailureForUiThread
in class ResponseCallback<AccessToken>
errorResult
- 실패결과.public final void onSuccess(AccessToken accessToken)
ResponseCallback
onSuccess
in class ResponseCallback<AccessToken>
accessToken
- AccessToken instancepublic final void onSuccessForUiThread(AccessToken result)
ResponseCallback
onSuccessForUiThread
in class ResponseCallback<AccessToken>
result
- 성공에 대한 response.