# ICredentialTransferCapabilitiesCallbacks.Stub.Proxy


```
public class ICredentialTransferCapabilitiesCallbacks.Stub.Proxy extends BaseProxy implements ICredentialTransferCapabilitiesCallbacks
```

<br />

|---|---|---|
| [java.lang.Object](https://developer.android.com/reference/java/lang/Object.html) |||
| ↳ | [com.google.android.aidl.BaseProxy](https://developers.google.com/android/reference/com/google/android/aidl/BaseProxy) ||
|   | ↳ | [com.google.android.gms.identitycredentials.provider.ICredentialTransferCapabilitiesCallbacks.Stub.Proxy](https://developers.google.com/android/reference/com/google/android/gms/identitycredentials/provider/ICredentialTransferCapabilitiesCallbacks.Stub.Proxy.md.txt) |

*** ** * ** ***

## Summary

| ### Public methods |
|---|---|
| `void` | `onFailure(String type, String message)` Called when the get capabilities fails. |
| `void` | `onSuccess(CredentialTransferCapabilities response)` Called when the get capabilities is successful. |

### Inherited methods

From [com.google.android.aidl.BaseProxy](https://developers.google.com/android/reference/com/google/android/aidl/BaseProxy) `IBinder` `asBinder()` `String` `getInterfaceDescriptor()` `Parcel` `obtainAndWriteInterfaceToken()` `Parcel` `transactAndReadException(int code, Parcel in)` `void` `transactAndReadExceptionReturnVoid(int code, Parcel in)` `void` `transactOneway(int code, Parcel in)`

## Public methods

### onFailure

```
public void onFailure(String type, String message)
```

Called when the get capabilities fails.

| Parameters |
|---|---|
| `String type` | The type of the error. |
| `String message` | The error message. |

| Throws |
|---|---|
| `android.os.RemoteException` |   |

### onSuccess

```
public void onSuccess(CredentialTransferCapabilities response)
```

Called when the get capabilities is successful.

| Throws |
|---|---|
| `android.os.RemoteException` |   |