Quoting Google link https://developers.google.com/identity/one-tap/android/get-saved-credentials
If your Activity could be used by a signed-in user or a signed-out user, check the user's status before displaying the One Tap sign-in UI.
So, how do I know if user is signed-in or signed-out? The document talks about checking user's status but it is not clear if there is an API to check the status or the developer is expected to maintain the user's status in own code.
My use case is user uses one tap to login and then quits the app. The user then relaunches the app to get automatically logged-in without seeing any sign-in UI. It is also not clear as how can app read id token, access token etc. when user returns back to app.