Google is committed to advancing racial equity for Black communities. See how.

AuthPromptHost

open class AuthPromptHost
kotlin.Any
   ↳ androidx.biometric.auth.AuthPromptHost

A wrapper class for FragmentActivity and Fragment with the FragmentActivity or Fragment that hosts the AuthPrompt

Summary

Public constructors
<init>(@NonNull fragment: Fragment)

<init>(@NonNull activity: FragmentActivity)

Public methods
open FragmentActivity?

open Fragment?

Public constructors

<init>

AuthPromptHost(@NonNull fragment: Fragment)

<init>

AuthPromptHost(@NonNull activity: FragmentActivity)

Public methods

getActivity

@Nullable open fun getActivity(): FragmentActivity?

getFragment

@Nullable open fun getFragment(): Fragment?