# MetaUserLinkerCallback

{% hint style="warning" %}
This class was replaced by UserLinkerCallback in v6.0.0.
{% endhint %}

This interface is used with [`MetaUserLinkerAsync`](https://docs.sentiance.com/important-topics/sdk/api-reference/userlinkerasync#link).

## MetaUserLinkerCallback API

|      |                                                                                                            |
| ---- | ---------------------------------------------------------------------------------------------------------- |
| void | [onSuccess](https://docs.sentiance.com/important-topics/sdk/api-reference/userlinkercallback#onsuccess) () |
| void | [onFailure](https://docs.sentiance.com/important-topics/sdk/api-reference/userlinkercallback#onfailure) () |

### `onSuccess()`

> ```java
> void onSuccess()
> ```
>
> Call this method after linking succeeds.

### `onFailure()`

> ```java
> void onFailure()
> ```
>
> Call this method after linking fails.
