Stay organized with collections Save and categorize content based on your preferences.

public static interface IntentSender.OnFinished

android.content.IntentSender.OnFinished



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() with a final BroadcastReceiver.

Summary

Public methods

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

Called when a send operation as completed.

Public methods

onSendFinished

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

Called when a send operation as completed.

Parameters
IntentSender IntentSender: The IntentSender 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.

Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.

Last updated 2022-02-10 UTC.