gpt4 book ai didi

android - Google Play 服务和 Google 游戏

转载 作者:行者123 更新时间:2023-11-30 02:03:28 24 4
gpt4 key购买 nike

我想问一下,从开发者的角度来看,Google Games 有什么好处。如果我正在连接 viac GoogleApiClient,例如:

googleApiClient = new GoogleApiClient.Builder(this)
.addApi(Games.API).addScope(Games.SCOPE_GAMES)
.addConnectionCallbacks(this)
.addOnConnectionFailedListener(this)
.build();

我连接的是 Google Play 服务还是 Google 游戏。如果我连接到谷歌游戏,我不需要安装谷歌播放服务?因为它在旧设备上占用了大量空间。

最佳答案

GoogleApiClient 用作 Google Play 服务集成的主要入口点 (as in google documentation explained)

Google Play 服务

这些服务的作用是将您的应用与 google play store 连接起来以检查更新。 Play Services 库用于在 android 应用程序项目中包含使我们能够使用 google map 和其他 google+ API 的类。更多信息 here

Google Play 游戏服务

引自维基百科 here Google Play 游戏服务可供应用程序开发人员使用,通过使用排行榜(公开的和 friend 之间的)、成就和多人游戏 session ,提供更具竞争力和社交性的体验。 Saved Games API 也可用于在 Google 的云基础架构上快速同步游戏存档。

可以说play服务是用来保存游戏分数的,可以让其他玩过你游戏的玩家记分牌。这提供了更丰富的游戏体验。

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

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com