getLastSignedInAccount LastSignedInAccount(最后签名的账户)。

问题描述 投票:1回答:1

谷歌标志 文件 提到用调用检查现有用户。

GoogleSignInAccount account = GoogleSignIn.getLastSignedInAccount(this);

当使用Xamarin时,什么是等价的,它在哪里? 或者它不存在,在这种情况下,我如何处理我的用户已经用Google登录的情况。 该 Xamarin演示 的项目不包含相应的代码。

xamarin.android google-signin google-oauth2
1个回答
0
投票

使用大写的G

GoogleSignInAccount account = GoogleSignIn.GetLastSignedInAccount(this);
© www.soinside.com 2019 - 2024. All rights reserved.