AuthTabIntent.AuthResult


public final class AuthTabIntent.AuthResult


Class containing Auth Tab result data. This class must be the result type of the ActivityResultCallback passed to registerActivityResultLauncher.

Valid `resultCode`s are RESULT_OK, RESULT_CANCELED, RESULT_VERIFICATION_FAILED and RESULT_VERIFICATION_TIMED_OUT.

Summary

Public fields

final int

Result code of the Auth Tab.

final @Nullable Uri

The Uri containing the Auth Tab result data.

Public fields

resultCode

Added in 1.9.0
public final int resultCode

Result code of the Auth Tab. If an invalid or unknown code was returned by the Auth Tab, this will be RESULT_UNKNOWN_CODE.

resultUri

Added in 1.9.0
public final @Nullable Uri resultUri

The Uri containing the Auth Tab result data. Null if the `resultCode` isn't RESULT_OK.