Added in API level 1
OnFinished
interface OnFinished
android.app.PendingIntent.OnFinished |
Callback interface for discovering when a send operation has completed. Primarily for use with a PendingIntent that is performing a broadcast, this provides the same information as calling Context.sendBroadcast()
with a final BroadcastReceiver.
Summary
Public methods | |
---|---|
abstract Unit |
onSendFinished(pendingIntent: PendingIntent!, intent: Intent!, resultCode: Int, resultData: String!, resultExtras: Bundle!) Called when a send operation as completed. |
Public methods
onSendFinished
Added in API level 1
abstract fun onSendFinished(
pendingIntent: PendingIntent!,
intent: Intent!,
resultCode: Int,
resultData: String!,
resultExtras: Bundle!
): Unit
Called when a send operation as completed.
Parameters | |
---|---|
pendingIntent |
PendingIntent!: The PendingIntent this operation was sent through. |
intent |
Intent!: The original Intent that was sent. |
resultCode |
Int: The final result code determined by the send. |
resultData |
String!: The final data collected by a broadcast. |
resultExtras |
Bundle!: The final extras collected by a broadcast. |