public interface

Fido2PendingIntent

com.google.android.gms.fido.fido2.Fido2PendingIntent

Class Overview

Interface for apps to launch a PendingIntent from Fido2 API calls.

Summary

Public Methods
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
boolean true if the result has a PendingIntent

public abstract void launchPendingIntent (Activity activity, int requestCode)

Launches the Pending intent

Parameters
activity Activity: An Activity context to use to launch the intent. The activity's onActivityResult method will be invoked after the user is done.
requestCode int: 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