resumeListening abstract method Null safety

Future<OsAuthenticationListenHandler> resumeListening()

Resumes listening for OS credentials.

If the application is listening for OS credentials and it is brought to the background, then the operating system will cancel automatically listening for credentials. This method must be invoked when the application is brought to the foreground again to resume listening for credentials.

Invoking this method will have effect only if cancelAuthentication was not previously invoked.

Note: invoking this method after FingerprintUserVerificationHandler.listenForOsCredentials or invoking this method sequentially without the application being sent to the background might result in recoverable errors being returned (see FingerprintUserVerificationContext.lastRecoverableError) depending on the fingerprint hardware used. That is why this method should only be invoked after the application is brought back from background.

Returns: the OsAuthenticationListenHandler to handle the new listening.

Implementation

Future<OsAuthenticationListenHandler> resumeListening();