跳轉到主要內容
PFAccountManagementLinkGooglePlayGamesServicesAccountRequest 資料模型。Google Play Games 登入的完成方式是:在裝置上使用 Google Play Games sign-in for Android API 取得 Google OAuth 2.0 認證,並將其傳遞至此 API。

語法

成員

customTags   PFStringDictionaryEntry const*
may be nullptr
(選擇性)與要求相關聯的選擇性自訂標籤(例如組建編號、外部追蹤識別碼等)。 customTagsCount   uint32_t customTags 的計數 forceLink   bool const*
may be nullptr
(選擇性)如果已有其他使用者連結至此帳戶,則取消連結該使用者並重新連結。如果目前使用者已連結,則連結兩個帳戶。 serverAuthCode   const char*
is null-terminated
在用戶端上透過呼叫 Google Play Games 用戶端 API requestServerSideAccess() (https://developers.google.com/games/services/android/signin) 所取得的 OAuth 2.0 伺服器驗證碼。

需求

標頭: PFAccountManagementTypes.h

另請參閱

PFAccountManagementTypes 成員
最後修改於 2026年10月6日