U2fPendingIntent

public interface U2fPendingIntent

This interface is deprecated.
Please use Fido APIs instead.

Interface for apps to launch a PendingIntent.

Public Method Summary

abstract boolean
hasPendingIntent()
Returns true if an Activity can launch the returned PendingIntent.
abstract void
launchPendingIntent(Activity activity, int requestCode)
Launches the Pending intent

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