# ResetCallback

This interface is used with [`reset(ResetCallback)`](../sentiance#reset-resetcallback).

## ResetCallback API

### `onResetFailure()`

> ```java
> void onResetFailure(ResetFailureReason reason)
> ```
>
> Called when the SDK reset fails.

| Parameters |                                                                                                |
| ---------- | ---------------------------------------------------------------------------------------------- |
| reason     | A [`ResetFailureReason`](resetcallback/resetfailurereason) enum indicating the failure reason. |

### `onResetSuccess()`

> ```java
> void onResetSuccess()
> ```
>
> Called when the SDK reset completes.
