コメント
コメントの投稿
※名前とタイトルが入力されていないコメントでは他のコメントとの区別ができません。
入力されていないコメントには返信しませんのであらかじめご了承くださいませ。
string accessToken = Android.Gms.Auth.GoogleAuthUtil.GetToken(
this, //Application.Contextでも可
new Android.Accounts.Account(GoogleSignInService.MailAddress, "com.google"),
"oauth2:" + "https://www.googleapis.com/auth/calendar");
Task.Run(() =>
{
string accessToken = Android.Gms.Auth.GoogleAuthUtil.GetToken(
this, //Application.Contextでも可
new Android.Accounts.Account(GoogleSignInService.MailAddress, "com.google"),
"oauth2:" + "https://www.googleapis.com/auth/calendar");
}).ConfigureAwait(false);
※名前とタイトルが入力されていないコメントでは他のコメントとの区別ができません。
入力されていないコメントには返信しませんのであらかじめご了承くださいませ。