OAuthClient.Callback
  public
  static
  
  abstract
  class
  OAuthClient.Callback
  
    extends Object
  
  
  
  
  
  
| java.lang.Object | |
| ↳ | android.support.wearable.authentication.OAuthClient.Callback | 
      This class is deprecated.
    use androidx.wear.phone.interactions.authentication.RemoteAuthClient
     provided by the Jetpack Wear Phone
     Interactions library instead.
  
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 | |
|---|---|
| 
      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 | |
|---|---|
Public constructors
Callback
public Callback ()
Public methods
onAuthorizationError
public abstract void onAuthorizationError (int errorCode)
Called when an async OAuth request fails.
See OAuthClient.sendAuthorizationRequest(Uri, OAuthClient.Callback).
| Parameters | |
|---|---|
| errorCode | int | 
onAuthorizationResponse
public abstract void onAuthorizationResponse (Uri requestUrl, Uri responseUrl)
Called when an async oauth request completes succesfully.
See OAuthClient.sendAuthorizationRequest(Uri, OAuthClient.Callback).
| Parameters | |
|---|---|
| requestUrl | Uri | 
| responseUrl | Uri | 
