# IntentSender.OnFinished

Added in[API level 4](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)  

# IntentSender.OnFinished

*** ** * ** ***

[Kotlin](https://developer.android.com/reference/kotlin/android/content/IntentSender.OnFinished "View this page in Kotlin")\|Java

`
public
static


interface
IntentSender.OnFinished
`  
`


`

|-----------------------------------------|
| android.content.IntentSender.OnFinished |

<br />

*** ** * ** ***

Callback interface for discovering when a send operation has completed. Primarily for use with a IntentSender that is performing a broadcast, this provides the same information as calling[Context.sendBroadcast()](https://developer.android.com/reference/android/content/Context#sendOrderedBroadcast(android.content.Intent,%20java.lang.String,%20android.content.BroadcastReceiver,%20android.os.Handler,%20int,%20java.lang.String,%20android.os.Bundle))with a final BroadcastReceiver.

## Summary

|                                                                                                                                                                                                                                                                                                                            ### Public methods                                                                                                                                                                                                                                                                                                                            ||
|------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| ` abstract void` | ` `[onSendFinished](https://developer.android.com/reference/android/content/IntentSender.OnFinished#onSendFinished(android.content.IntentSender,%20android.content.Intent,%20int,%20java.lang.String,%20android.os.Bundle))`(`[IntentSender](https://developer.android.com/reference/android/content/IntentSender)` IntentSender, `[Intent](https://developer.android.com/reference/android/content/Intent)` intent, int resultCode, `[String](https://developer.android.com/reference/java/lang/String)` resultData, `[Bundle](https://developer.android.com/reference/android/os/Bundle)` resultExtras) ` Called when a send operation as completed. |

## Public methods

### onSendFinished

Added in[API level 4](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)  

```
public abstract void onSendFinished (IntentSender IntentSender, 
                Intent intent, 
                int resultCode, 
                String resultData, 
                Bundle resultExtras)
```

Called when a send operation as completed.

<br />

|                                        Parameters                                        ||
|----------------|--------------------------------------------------------------------------|
| `IntentSender` | `IntentSender`: The IntentSender this operation was sent through. <br /> |
| `intent`       | `Intent`: The original Intent that was sent. <br />                      |
| `resultCode`   | `int`: The final result code determined by the send. <br />              |
| `resultData`   | `String`: The final data collected by a broadcast. <br />                |
| `resultExtras` | `Bundle`: The final extras collected by a broadcast. <br />              |