Most visited

Recently visited

Added in API level 1

PendingIntent.OnFinished

public static interface PendingIntent.OnFinished

android.app.PendingIntent.OnFinished


回调界面用于发现发送操作何时完成。 主要用于执行广播的PendingIntent,这提供了与最终的BroadcastReceiver调用Context.sendBroadcast()相同的信息。

Summary

Public methods

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

当发送操作完成时调用。

Public methods

onSendFinished

Added in API level 1
void onSendFinished (PendingIntent pendingIntent, 
                Intent intent, 
                int resultCode, 
                String resultData, 
                Bundle resultExtras)

当发送操作完成时调用。

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.

Hooray!