android - 使用 Google Play 游戏服务联系用户

标签 android google-play-services google-play-games leaderboard

我正在开发一款安卓游戏,其中实现了 Google Play 游戏服务。我正在使用游戏服务的排行榜。每周我都想用一些礼物奖励排名最高的用户。有没有办法让用户通过电子邮件或不同的 channel 联系用户,以便我们能够确定我们应该将礼物运送到哪里?

最佳答案

是的,但它不是记录在案的功能。您可以使用 Games.Leaderboards.loadTopScores 获得最高分。当您有一个 LeaderboardScore 对象时,您可以使用 score.getScoreHolder().getPlayerId() 来获取他的 Google+ ID。然后打开https://plus.google.com/PUT_ID_HERE/posts您可以通过环聊联系该玩家。

关于android - 使用 Google Play 游戏服务联系用户,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/22253843/

相关文章:

android - android 中的最大 BackStack 大小

android - NPE on FirebasePerformance.isPerformanceCollectionEnabled() with Firebase Performance and AndroidX

android - Google Play服务位置API : onLocationChanged only called once

ios - ITMS-90535 无法发布 libgdx iOS 应用程序

java - 追加到文件 android

android - OnPreviewFrame数据图片到imageView

android - 除非您更新 Google Play 服务,否则 com.android.tools.fd.runtime.BootstrapApplication 不会运行

gps - 以编程方式在 Android 设备中安装 `Google Play Services`

android - setViewForPopUp(view) google api (11.6.0) google play 登录

android - Google Play 游戏服务多人游戏和后端