> For the complete documentation index, see [llms.txt](https://docs.sentiance.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.sentiance.com/sdk/api-reference/android/submitdetectionscallback.md).

# SubmitDetectionsCallback

This interface is used with [`submitDetections(SubmitDetectionsCallback)`](/sdk/api-reference/android/sentiance.md#submitdetections-submitdetectionscallback).

## SubmitDetectionsCallback API

### `onSuccess()`

> ```java
> void onSuccess()
> ```
>
> All detections have been successfully submitted.

### `onFailure()`

> ```java
> void onFailure()
> ```
>
> At least one detection was not successfully submitted.
>
> Due to constraints on detection submission order, failure to submit certain detections will cause the entire submission run to be stopped.
