class MainActivity : AppCompatActivity, BiometricCallback
The main Activity of this application. Handles cross-fragment navigation and settings.
Author
Jan Müller
Author
Jonas Thelemann
<init> |
The main Activity of this application. Handles cross-fragment navigation and settings. MainActivity() |
biometricManager |
Allows fingerprint authentication. lateinit var biometricManager: BiometricManager |
onAuthenticationCancelled |
Biometric authentication callback for canceled authentication. fun onAuthenticationCancelled(): Unit |
onAuthenticationError |
Biometric authentication callback for authentication errors. fun onAuthenticationError(errorCode: Int, errString: CharSequence?): Unit |
onAuthenticationFailed |
Biometric authentication callback for authentication failures. fun onAuthenticationFailed(): Unit |
onAuthenticationHelp |
Biometric authentication callback for authentication help. fun onAuthenticationHelp(helpCode: Int, helpString: CharSequence?): Unit |
onAuthenticationSuccessful |
Biometric authentication callback for authentication success. fun onAuthenticationSuccessful(): Unit |
onBiometricAuthenticationInternalError |
Biometric authentication callback for internal biometric authentication errors. fun onBiometricAuthenticationInternalError(error: String?): Unit |
onBiometricAuthenticationNotAvailable |
Biometric authentication callback for unavailable biometric authentication. fun onBiometricAuthenticationNotAvailable(): Unit |
onBiometricAuthenticationNotSupported |
Biometric authentication callback for unsupported biometric authentication. fun onBiometricAuthenticationNotSupported(): Unit |
onBiometricAuthenticationPermissionNotGranted |
Biometric authentication callback for missing permissions. fun onBiometricAuthenticationPermissionNotGranted(): Unit |
onCreate |
Sets the content view, initializes navigation and biometric authentication. fun onCreate(savedInstanceState: Bundle?): Unit |
onSdkVersionNotSupported |
Biometric authentication callback for unsupported SDK versions. fun onSdkVersionNotSupported(): Unit |
onSupportNavigateUp |
Enables up-navigation from the toolbar's navigation button. fun onSupportNavigateUp(): Boolean |