Page Summary
-
The
U2fPendingIntentinterface is deprecated and developers should use Fido APIs instead. -
This interface allows apps to launch a
PendingIntent. -
The
hasPendingIntent()method returns true if an Activity can launch the returnedPendingIntent. -
The
launchPendingIntent()method launches thePendingIntent.
This interface is deprecated.
Please use Fido
APIs instead.
Interface for apps to launch a PendingIntent
.
Public Method Summary
| abstract boolean | |
| abstract void |
Public Methods
public abstract boolean hasPendingIntent ()
Returns true if an Activity
can
launch the returned PendingIntent
.
Returns
- true if the result has a
PendingIntent
public abstract void launchPendingIntent ( Activity activity, int requestCode)
Launches the Pending intent
Parameters
| activity | An Activity context to use to launch the intent. The Activity's onActivityResult method will be invoked after the user is done. |
|---|---|
| requestCode | The request code to pass to onActivityResult. |
Throws
| If the resolution intent has been canceled or is no longer able to execute the request. | |
|---|---|
| IllegalStateException | if hasPendingIntent is false |
| IntentSender.SendIntentException |

