Google은 흑인 공동체를 위한 인종 간 평등을 진전시키기 위해 노력하고 있습니다. Google에서 어떤 노력을 하고 있는지 확인하세요.

OAuthClient.Callback

public static abstract class OAuthClient.Callback
extends Object

java.lang.Object
   ↳ android.support.wearable.authentication.OAuthClient.Callback


This callback is notified when an async OAuth request completes.

Your app should update its UI to let the user know of the success or failure.

Summary

Public constructors

OAuthClient.Callback()

Public methods

abstract void onAuthorizationError(int errorCode)

Called when an async OAuth request fails.

abstract void onAuthorizationResponse(Uri requestUrl, Uri responseUrl)

Called when an async oauth request completes succesfully.

Inherited methods

From class java.lang.Object

Public constructors

OAuthClient.Callback

OAuthClient.Callback ()

Public methods

onAuthorizationError

void onAuthorizationError (int errorCode)

Called when an async OAuth request fails.

See sendAuthorizationRequest(Uri, OAuthClient.Callback).

Parameters
errorCode int

onAuthorizationResponse

void onAuthorizationResponse (Uri requestUrl, 
                Uri responseUrl)

Called when an async oauth request completes succesfully.

See sendAuthorizationRequest(Uri, OAuthClient.Callback).

Parameters
requestUrl Uri

responseUrl Uri