# OnSdkStatusUpdateHandler

{% hint style="danger" %}
This document refers to deprecated parts of the platform and has been left intact to help customers with legacy integrations. In order to access the latest platform features and documentation, please go to <https://docs.sentiance.com>.
{% endhint %}

This interface is used with [`setOnSdkStatusUpdateHandler(OnSdkStatusUpdateHandler)`](https://legacy-docs.sentiance.com/sdk/api-reference/sdkconfig/sdkconfig-builder#setonsdkstatusupdatehandler).

To learn how to use this interface, please see [this](https://legacy-docs.sentiance.com/sdk/getting-started/android-sdk/sdk-status-updates) guide.

## OnSdkStatusUpdateHandler API

### `onSdkStatusUpdate`

> ```java
> void onSdkStatusUpdate(SdkStatus status)
> ```
>
> Called whenever the SDK status changes (or more specifically, whenever one of the fields of [`SdkStatus`](https://legacy-docs.sentiance.com/sdk/api-reference/android/sdkstatus) changes).

| Parameters |                                                                                                                                     |
| ---------- | ----------------------------------------------------------------------------------------------------------------------------------- |
| status     | An [`Sdkstatus`](https://legacy-docs.sentiance.com/sdk/api-reference/android/sdkstatus) object representing the current SDK status. |
