public static interface IntentSender.OnFinished
android.content.IntentSender.OnFinished |
回调界面用于发现发送操作何时完成。 主要用于执行广播的IntentSender,这提供了与最终的BroadcastReceiver调用Context.sendBroadcast()
相同的信息。
Public methods |
|
---|---|
abstract void |
onSendFinished(IntentSender IntentSender, Intent intent, int resultCode, String resultData, Bundle resultExtras) 当发送操作完成时调用。 |
void onSendFinished (IntentSender IntentSender, Intent intent, int resultCode, String resultData, Bundle resultExtras)
当发送操作完成时调用。
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. |